failsafe-cvs
[Top] [All Lists]

TAKE failsafe: Malloc() is only spec-ed to return a nul ...

To: failsafe-cvs@xxxxxxxxxxx
Subject: TAKE failsafe: Malloc() is only spec-ed to return a nul ...
From: Scott Henry <scotth@xxxxxxxxxxx>
Date: Tue, 29 May 2001 17:11:24 -0700
Sender: owner-failsafe-cvs@xxxxxxxxxxx
--------------------------------------------------------------------------------
Commit by scotth on Tue May 29 17:11:24 PDT 2001 of files:
failsafe/FailSafe/cluster_admin/cmd/cdbd/src attach.c
Update of /oss/CVS/cvs/failsafe/FailSafe/cluster_admin/cmd/cdbd/src
In directory oss.sgi.com:/tmp/cvs-serv15831/cluster_admin/cmd/cdbd/src

Modified Files:
        attach.c 
Log Message:
Malloc() is only spec-ed to return a nul-ed buffer the first time that the
rebion is used. A previous bug-fix caused this function to start re-using
free()ed areas. Also, the worst-case buffer size is actually filesize+1.
Also piggy-backs a couple of build fixes... bugzilla 79 (cdbd SEGVs when
creating a new database).


<Prev in Thread] Current Thread [Next in Thread>