]> git.ipfire.org Git - thirdparty/bind9.git/commit
Address overrun in remove_old_tsversions
authorMark Andrews <marka@isc.org>
Thu, 2 Jul 2020 03:26:06 +0000 (13:26 +1000)
committerMark Andrews <marka@isc.org>
Mon, 13 Jul 2020 04:04:04 +0000 (14:04 +1000)
commit67f85d648fdf0e39d097c74dd8a401fe3f200411
tree34d5b48c85ef70f3bf20a72dc5bb2d2a9ec21307
parent79179c63824b69e80aa8602088e6a0581a490cb8
Address overrun in remove_old_tsversions

If too many versions of log / dnstap files to be saved where requests
the memory after to_keep could be overwritten.  Force the number of
versions to be saved to a save level.  Additionally the memmove length
was incorrect.

(cherry picked from commit 6ca78bc57dece45029ee56a73161db7b68140286)
lib/isc/log.c