Date: Sat, 26 Aug 2000 06:55:40 -0700 (PDT) From: jml@cubical.fi To: freebsd-gnats-submit@FreeBSD.org Subject: misc/20862: malloc() generates SIGSEGV Message-ID: <20000826135540.E62AD37B424@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number:         20862
>Category:       misc
>Synopsis:       malloc() generates SIGSEGV
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 26 07:00:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Juha Liukkonen
>Release:        4.1-RELEASE
>Organization:
Cubical Solutions Ltd
>Environment:
FreeBSD skitso.intra.net 4.1-RELEASE FreeBSD 4.1-RELEASE #0: Sat Aug 19 14:56:42 EEST 2000
     root@skitso.intra.net:/usr/src/sys/compile/server-mp.conf  i386
>Description:
malloc() says "recursive call" and gives a SIGSEGV when called with a
nasty size value (0xffff0000..0xfffefff qualify). The
wraparound check added with kern/2964 was apparently not sufficient :-)
>How-To-Repeat:
void *foo = malloc(0xffff0000);
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000826135540.E62AD37B424>
