summaryrefslogtreecommitdiffstats
path: root/lib/libgeom/geom_getxml.c
Commit message (Collapse)AuthorAgeFilesLines
* Add missing `void' keyword.ed2009-12-311-1/+1
|
* - Simplify the procedure of retrieving XML-data from the kernel.lulf2008-07-081-19/+13
| | | | | | | | | | | | | - 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)
* Second call of sysctl() is used to gather a proper size of a memory chunkwkoszek2007-05-011-1/+1
| | | | | | | | | | | needed to hold the GEOM tree. At this point, pointer 'p' has an improper value (as it was used previously), and we're getting EFAULT. Fix this functionality by passing NULL instead of 'p'. This fixes mdconfig(8) -l output with high number of md(4) devices. Found by: kris Reviewed by: phk
* Leak more stuff into libgeom.phk2003-02-101-0/+66
OpenPOWER on IntegriCloud