cvs commit: src/sys/kern kern_malloc.c
Pawel Jakub Dawidek
pjd at FreeBSD.org
Tue Jan 17 02:19:43 PST 2006
pjd 2006-01-17 10:19:38 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
MFC: sys/kern/kern_malloc.c 1.150
In realloc(9), determine size of the original block based on
In some circumstances (I observed it when I was doing a lot of reallocs)
UMA_SLAB_MALLOC can be set even if us_keg != NULL.
If this is the case we have wonderful, silent data corruption, because less
data is copied to the newly allocated region than should be.
Revision Changes Path
18.104.22.168 +1 -1 src/sys/kern/kern_malloc.c
More information about the cvs-all