summaryrefslogtreecommitdiffstats
path: root/po/POTFILES.in
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-05-19 12:27:00 +0100
committerRichard Jones <rjones@redhat.com>2010-05-20 10:30:12 +0100
commit30c091f49dafab4ca9c8b6640d19fc0450b15971 (patch)
treec4bba201e9cff32aeb533041bbb8ee3d2b49dd7b /po/POTFILES.in
parente715451fae0ba738973af98a4e506b6c5564626a (diff)
downloadlibguestfs-30c091f49dafab4ca9c8b6640d19fc0450b15971.tar.gz
libguestfs-30c091f49dafab4ca9c8b6640d19fc0450b15971.tar.xz
libguestfs-30c091f49dafab4ca9c8b6640d19fc0450b15971.zip
generator: Check parameters are not NULL (RHBZ#501893).
This adds additional tests to check that several types of parameter including String are not NULL when passed to the C functions. Previously this would cause a segfault inside libguestfs. With this change, you get an error message / exception. Of the possible pointer parameters, only OptString is now permitted to be NULL. This change does not affect the Perl bindings. This is because Perl XS code was already adding similar checks if you passed undef into a parameter expecting a string.
Diffstat (limited to 'po/POTFILES.in')
-rw-r--r--po/POTFILES.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 8086ab22..b233c29d 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -92,6 +92,7 @@ perl/bindtests.pl
perl/lib/Sys/Guestfs.pm
perl/lib/Sys/Guestfs/Lib.pm
python/guestfs-py.c
+regressions/rhbz501893.c
regressions/test-lvm-mapping.pl
regressions/test-noexec-stack.pl
ruby/ext/guestfs/_guestfs.c