Bug 501892

Summary: OptString parameters not handled properly in bindings
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: markmc, rjones, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-27 10:08:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2009-05-21 08:49:24 UTC
OptString parameters can be NULL.  Not all of the bindings
really handle this case - probably they segfault if presented
with a NULL parameter.

We also need to add an automated regression test which
tests this case.

Comment 1 Richard W.M. Jones 2009-05-21 08:51:38 UTC
Related to this is bug 501893
(String parameters should be checked for != NULL)

Comment 2 Mark McLoughlin 2009-05-25 14:49:55 UTC
Moving upstream, just a safety check

Comment 3 Richard W.M. Jones 2009-05-28 19:25:40 UTC
This is fixed upstream by
http://git.et.redhat.com/?p=libguestfs.git;a=commitdiff;h=babc0846cc911b01a58a7385d30ad25889b7175a

Comment 4 Fedora Update System 2009-05-29 06:03:47 UTC
libguestfs-1.0.36-1.fc11.2 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.36-1.fc11.2

Comment 5 Fedora Update System 2009-06-02 15:10:18 UTC
libguestfs-1.0.38-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.38-1.fc11

Comment 6 Fedora Update System 2009-06-04 15:39:56 UTC
libguestfs-1.0.41-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.41-1.fc11

Comment 7 Fedora Update System 2009-06-06 17:57:59 UTC
libguestfs-1.0.42-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.42-1.fc11

Comment 8 Fedora Update System 2009-06-23 09:15:44 UTC
libguestfs-1.0.51-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.51-1.fc11

Comment 9 Fedora Update System 2009-06-29 19:28:19 UTC
libguestfs-1.0.54-2.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.54-2.fc11

Comment 10 Fedora Update System 2009-07-02 23:27:06 UTC
libguestfs-1.0.55-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.55-1.fc11

Comment 11 Fedora Update System 2009-07-11 09:28:06 UTC
libguestfs-1.0.58-2.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.58-2.fc11

Comment 12 Fedora Update System 2009-07-11 17:13:28 UTC
libguestfs-1.0.54-2.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2009-07-19 10:28:46 UTC
libguestfs-1.0.58-2.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Richard W.M. Jones 2010-03-27 10:08:29 UTC
Long fixed upstream.