From: Fabio M. Di Nitto Date: Tue, 21 Oct 2008 13:17:03 +0200 (CEST) Subject: [Cluster-devel] handle some malloc failures In-Reply-To: <87vdvwlaal.fsf@rho.meyering.net> References: <87vdvwlaal.fsf@rho.meyering.net> Message-ID: List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Mon, 13 Oct 2008, Jim Meyering wrote: > Here's a series of patches to fix or mark-with-comment uses > of malloc where a failure can lead to NULL dereference. > I started off fixing them, but there were pretty many, > so after a while I merely marked them. > > Note I've marked a use of strdup, too. While I went through > the entire list of uses of malloc, I haven't done the same > for strdup. That was just the first one I spotted. > > Jim > Merged into master branch. I had some issues to get them in the tree so the SHA1 are different from your original posting but it's all there. Thanks Fabio -- I'm going to make him an offer he can't refuse.