cvs commit: src/lib/libgeom geom_ctl.c geom_getxml.c geom_xml2tree.c

Ulf Lilleengen lulf at FreeBSD.org
Tue Jul 8 17:35:04 UTC 2008


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


More information about the cvs-src mailing list