mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
Fixes potential buffer overflow in getsockopt for timevals
struct timeval is a possible return value of getsockopt (e.g. SO_RCVTIMEO and SO_SNDTIMEO), but it is not included in the scm_t_getsockopt_result union, which may then be too small (and is on Debian amd64). * libguile/socket.c: add struct timeval to scm_t_getsockopt union [rlb@defaultvalue.org: adjust commit message; add NEWS] Closes: 76907
This commit is contained in:
parent
402e0dfa33
commit
4af6331a65
2 changed files with 4 additions and 1 deletions
2
NEWS
2
NEWS
|
@ -96,6 +96,8 @@ every line in a file.
|
|||
** r6rs-ports.test custom ports tests should no longer fail on stray closes
|
||||
Previously the custom ports weren't explicitly closed, causing
|
||||
GC-related closes to produce spurious "log" events in other tests.
|
||||
** getsockopt no longer risks a buffer overrun with timestamps
|
||||
(<https://bugs.gnu.org/76907>)
|
||||
|
||||
|
||||
Changes in 3.0.10 (since 3.0.9)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue