diff options
author | lulf <lulf@FreeBSD.org> | 2008-07-08 17:34:50 +0000 |
---|---|---|
committer | lulf <lulf@FreeBSD.org> | 2008-07-08 17:34:50 +0000 |
commit | 1547b99716941b9b7d256bef62d3fa4955880949 (patch) | |
tree | 5b3be73bdbe84255bd046a32bc817c208bfefb52 /sys/netgraph/ng_iface.c | |
parent | e31c8aa8e526df26ff15a5aab776940a6ebaf2aa (diff) | |
download | FreeBSD-src-1547b99716941b9b7d256bef62d3fa4955880949.zip FreeBSD-src-1547b99716941b9b7d256bef62d3fa4955880949.tar.gz |
- 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)
Diffstat (limited to 'sys/netgraph/ng_iface.c')
0 files changed, 0 insertions, 0 deletions