Module Name: src Committed By: maxv Date: Wed Jul 2 15:00:29 UTC 2014
Modified Files: src/sys/kern: subr_kmem.c Log Message: Fix the KMEM_POISON check: it should check the whole buffer, otherwise some write-after-free's wouldn't be detected (those occurring in the 8 last bytes of the allocated buffer). Was here before my changes, spotted by lars@. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/sys/kern/subr_kmem.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.