CVSROOT:        /cvs
Module name:    src
Changes by:     clau...@cvs.openbsd.org 2020/05/06 08:40:54

Modified files:
        usr.sbin/ospfd : lsupdate.c 

Log message:
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@

Reply via email to