summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-03-08 11:06:46 +0000
committerRichard W.M. Jones <rjones@redhat.com>2012-03-08 18:14:34 +0000
commit2fdbc4042fd5e1af61037c34eaa01bb068da25a0 (patch)
tree02f0ccef11b41e39711d4bd4f3ccfc23acbdccca /python
parent5df42db79211ce769a6eca4d4e4077de7e558652 (diff)
downloadlibguestfs-2fdbc4042fd5e1af61037c34eaa01bb068da25a0.tar.gz
libguestfs-2fdbc4042fd5e1af61037c34eaa01bb068da25a0.tar.xz
libguestfs-2fdbc4042fd5e1af61037c34eaa01bb068da25a0.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". (cherry picked from commit 35d5be22b1c09c3a99b445f65453601ec25b9f60)
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions