summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2020-05-06 14:40:54 +0000
committerclaudio <claudio@openbsd.org>2020-05-06 14:40:54 +0000
commit07669e8b3af732f05a181ba4170be73c254ea6b5 (patch)
treed7083003f9dc90e256b74e84b909ede5125806dd /sys/kern/tty.c
parentrpki-client is only interested in real files. Don't tell rsync to (diff)
downloadwireguard-openbsd-07669e8b3af732f05a181ba4170be73c254ea6b5.tar.xz
wireguard-openbsd-07669e8b3af732f05a181ba4170be73c254ea6b5.zip
Do not use the pointer returned by ibuf_reserve() after calling another
ibuf function. After the call the internal buffer may have moved by realloc() and so the pointer is invalid. Instead use ibuf_size() to get the current offset in the buffer and use ibuf_seek() later on to write back the updated lsa age into the buffer at the right spot. This fixes an issue seen by Richard Chivers on routers with many passive interfaces. OK stsp@ deraadt@
Diffstat (limited to 'sys/kern/tty.c')
0 files changed, 0 insertions, 0 deletions