From owner-cvs-all Sat Sep 19 13:56:05 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA24576 for cvs-all-outgoing; Sat, 19 Sep 1998 13:56:05 -0700 (PDT) (envelope-from owner-cvs-all) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA24503; Sat, 19 Sep 1998 13:55:59 -0700 (PDT) (envelope-from alex@FreeBSD.org) From: Alex Nash Received: (from alex@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id NAA20473; Sat, 19 Sep 1998 13:55:36 -0700 (PDT) Date: Sat, 19 Sep 1998 13:55:36 -0700 (PDT) Message-Id: <199809192055.NAA20473@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/lib/libc/stdlib malloc.c Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk alex 1998/09/19 13:55:36 PDT Modified files: lib/libc/stdlib malloc.c Log: Correctly back out of free if a recursive call into malloc.c is detected. Set malloc_func *after* grabbing the thread lock. Noticed by: Simon Coggins Revision Changes Path 1.40 +7 -8 src/lib/libc/stdlib/malloc.c