diff options
author | David Sommerseth <davids@redhat.com> | 2010-04-20 12:08:04 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2010-04-20 12:08:04 +0200 |
commit | 63fa74b229dd25b1e6398f20b966725df855dcf3 (patch) | |
tree | 0d5e8a9f45358f245c87d51f9546be9926658eb4 /src/dmidecode.h | |
parent | 3aabb2ff8c7fdb9c68c38c2cdd13f64f7c74586d (diff) | |
download | python-dmidecode-63fa74b229dd25b1e6398f20b966725df855dcf3.tar.gz python-dmidecode-63fa74b229dd25b1e6398f20b966725df855dcf3.tar.xz python-dmidecode-63fa74b229dd25b1e6398f20b966725df855dcf3.zip |
Allow format strings to be NULL in dmixml_Add*() functions
This bug was reported by Jan HutaĆ <jhutar@redhat.com> [1]
The implemented fix avoids assertions if the format strings to
dmixml_AddAttribute(), dmixml_AddTextChild() and dmixml_AddTextContent()
functions are NULL. In these cases, it will result in an empty value
instead of returning NULL from these functions.
[1] <https://bugzilla.redhat.com/show_bug.cgi?id=583867>
Diffstat (limited to 'src/dmidecode.h')
0 files changed, 0 insertions, 0 deletions