Date: Tue, 29 Apr 2008 01:32:42 +0000 (UTC) From: Jason Evans <jasone@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdlib malloc.c Message-ID: <200804290132.m3T1Wga6091179@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jasone 2008-04-29 01:32:42 UTC
FreeBSD src repository
Modified files:
lib/libc/stdlib malloc.c
Log:
Check for integer overflow before calling sbrk(2), since it uses a
signed increment argument, but the size is an unsigned integer.
Revision Changes Path
1.169 +7 -0 src/lib/libc/stdlib/malloc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804290132.m3T1Wga6091179>
