projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
3ee0d5d
)
Fix segfault when failing to read random numbers.
author
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 21 Sep 2020 21:22:18 +0000
(23:22 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 21 Sep 2020 21:22:18 +0000
(23:22 +0200)
Because the result of read() was incorrectly stored in an unsigned
variable, an error reading from the random number generator device would
result in an infinite loop that would start writing out of bounds and
eventually corrupt the stack.
No differences found