diff options
| author | Richard W.M. Jones <rjones@redhat.com> | 2012-03-08 11:06:46 +0000 |
|---|---|---|
| committer | Richard W.M. Jones <rjones@redhat.com> | 2012-03-08 13:21:52 +0000 |
| commit | 35d5be22b1c09c3a99b445f65453601ec25b9f60 (patch) | |
| tree | 75e2009377b6d759987ad7140a00290ebdb49962 /python | |
| parent | 0ffa223a75fe4b5b077e4ec68534155039772c3a (diff) | |
| download | libguestfs-35d5be22b1c09c3a99b445f65453601ec25b9f60.tar.gz libguestfs-35d5be22b1c09c3a99b445f65453601ec25b9f60.tar.xz libguestfs-35d5be22b1c09c3a99b445f65453601ec25b9f60.zip | |
Check return values from calloc (found by Coverity).
Error: NULL_RETURNS:
/builddir/build/BUILD/libguestfs-1.16.5/src/inspect.c:417: returned_null: Function "calloc" returns null (checked 67 out of 81 times).
/builddir/build/BUILD/libguestfs-1.16.5/src/inspect.c:417: var_assigned: Assigning: "ret" = null return value from "calloc".
/builddir/build/BUILD/libguestfs-1.16.5/src/inspect.c:418: dereference: Dereferencing a null pointer "ret".
[...]
/builddir/build/BUILD/libguestfs-1.16.5/src/inspect.c:374: returned_null: Function "calloc" returns null (checked 67 out of 81 times).
/builddir/build/BUILD/libguestfs-1.16.5/src/inspect.c:374: var_assigned: Assigning: "ret" = null return value from "calloc".
/builddir/build/BUILD/libguestfs-1.16.5/src/inspect.c:375: dereference: Dereferencing a null pointer "ret".
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions
