]> git.ipfire.org Git - thirdparty/bind9.git/commit
Remove canary code from hash destroy function (#38602)
authorMukund Sivaraman <muks@isc.org>
Thu, 12 Feb 2015 12:44:34 +0000 (18:14 +0530)
committerMukund Sivaraman <muks@isc.org>
Thu, 12 Feb 2015 12:49:33 +0000 (18:19 +0530)
commitfe865bb8ffb6b9e270e2bcaa70b93a61a6f8e960
tree991713ff5f2185905918f7f43463dd39b22d1484
parentb90130d4e7a2c9551b017039b30d4c0606158801
Remove canary code from hash destroy function (#38602)

This triggers a Valgrind out-of-bounds read report. It was introduced by
commit 5d7849ad7ffc6d08870dbfbc8d6bfffd90007488.

No CHANGES entry necessary as it doesn't have any user-visible or
behavioral change. It removes an out-of-bounds read issue that went
undetected when allocated through isc_mem as the memory was present.
The memory read was compared to itself, so it has no behavioral change.

(cherry picked from commit ffc393dd180f9e3b300a160f1e26cbc1c2239f54)
lib/isc/hash.c