summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads.old/sysdeps/sparc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-10-15 19:47:12 -0400
committerAustin Foxley <austinf@cetoncorp.com>2009-10-16 11:36:32 -0700
commit6b95077fcb846b21c9b507eaf804e44a8ccd212e (patch)
tree2215312a6e9aca564713aff2595791237e809968 /libpthread/linuxthreads.old/sysdeps/sparc
parenteb15613c63d1baafb072fd2d1fc9b3f579841c8c (diff)
downloaduClibc-alpine-6b95077fcb846b21c9b507eaf804e44a8ccd212e.tar.bz2
uClibc-alpine-6b95077fcb846b21c9b507eaf804e44a8ccd212e.tar.xz
malloc: handle size overflows in realloc()
The malloc() code checks the incoming size to make sure the header adjustment doesn't cause overflow in the size storage. Add the same check to realloc() to catch stupid stuff like realloc(..., -1). Reported-by: James Coleman <james.coleman@ubicom.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/linuxthreads.old/sysdeps/sparc')
0 files changed, 0 insertions, 0 deletions