Groups
Groups
Sign in
Groups
Groups
lutok-log
Conversations
About
Send feedback
Help
[freebsd/lutok] a4f3ab: Resolve a benign buffer overrun issue
0 views
Skip to first unread message
Enji Cooper
unread,
Dec 1, 2024, 4:04:43 PM
12/1/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to luto...@googlegroups.com
Branch: refs/heads/master
Home:
https://github.com/freebsd/lutok
Commit: a4f3abb1d0cfae0c45052b75dbb1b9c22881f9d0
https://github.com/freebsd/lutok/commit/a4f3abb1d0cfae0c45052b75dbb1b9c22881f9d0
Author: Enji Cooper <ng...@FreeBSD.org>
Date: 2024-11-30 (Sat, 30 Nov 2024)
Changed paths:
M state.cpp
Log Message:
-----------
Resolve a benign buffer overrun issue
The actual size that should be passed to `std::strncpy` is
`sizeof(..) - 1`, not `sizeof(..)`. The former pattern avoids
a benign potential buffer overrun issue.
Reported by: gcc 13.2
Signed-off-by: Enji Cooper <ng...@FreeBSD.org>
Commit: 0334a24ecb62aac602fa4cc749166d10ca3bbdb4
https://github.com/freebsd/lutok/commit/0334a24ecb62aac602fa4cc749166d10ca3bbdb4
Author: Enji Cooper <ng...@FreeBSD.org>
Date: 2024-12-01 (Sun, 01 Dec 2024)
Changed paths:
M state.cpp
Log Message:
-----------
Merge pull request #23 from ngie-eign/fix-gcc-compile
Resolve a benign buffer overrun issue
Compare:
https://github.com/freebsd/lutok/compare/b9e865d7eff0...0334a24ecb62
To unsubscribe from these emails, change your notification settings at
https://github.com/freebsd/lutok/settings/notifications
Reply all
Reply to author
Forward
0 new messages