[parted-devel] [PATCH] libparted: linux: don't deref NULL upon failed malloc or realloc

Jim Meyering jim at meyering.net
Sat Nov 7 17:45:34 UTC 2009


This fixes two unchecked realloc calls.

I went ahead and preserved errno (usu ENOMEM) in the
failing case even though callers ignore it (which is no big deal,
considering what they're doing).



More information about the parted-devel mailing list