Date: Tue, 8 Jul 2008 17:34:50 +0000 (UTC) From: Ulf Lilleengen <lulf@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libgeom geom_ctl.c geom_getxml.c geom_xml2tree.c Message-ID: <200807081735.m68HZ3bD093856@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
lulf 2008-07-08 17:34:50 UTC FreeBSD src repository Modified files: lib/libgeom geom_ctl.c geom_getxml.c geom_xml2tree.c Log: SVN rev 180369 on 2008-07-08 17:34:50Z by lulf - Simplify the procedure of retrieving XML-data from the kernel. - Fix a number of potential memory leaks in libgeom related to doing realloc without freeing old pointer if things go wrong. - Fix a number of places in libgeom where malloc and calloc return values were not checked. - Check malloc return value and provide sufficient warning messages when XML parsing fails. PR: kern/83464 Submitted by: Dan Lukes <dan - at - obluda.cz> Approved by: kib (mentor) Revision Changes Path 1.5 +16 -6 src/lib/libgeom/geom_ctl.c 1.3 +13 -19 src/lib/libgeom/geom_getxml.c 1.6 +36 -1 src/lib/libgeom/geom_xml2tree.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807081735.m68HZ3bD093856>