summaryrefslogtreecommitdiffstats
path: root/src/util.c
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2010-05-26 15:39:19 +0200
committerDavid Sommerseth <davids@redhat.com>2010-05-26 15:39:19 +0200
commit7253bbeed7f6d00bd796019d79dc1fe0a805fa8e (patch)
tree682ac3aa5e5136b86a9e275dd4dc3dda7142ce10 /src/util.c
parent1e9d9abffa27a45d24cb2e978f302ff25c2c7f76 (diff)
downloadpython-dmidecode-7253bbeed7f6d00bd796019d79dc1fe0a805fa8e.tar.gz
python-dmidecode-7253bbeed7f6d00bd796019d79dc1fe0a805fa8e.tar.xz
python-dmidecode-7253bbeed7f6d00bd796019d79dc1fe0a805fa8e.zip
Fixed an issue causing SEGV on some hardware when dmi_processor_id() is called
The dmi_processor_id() function did not check the char *version pointer if it was NULL before doing strcmp(). On some hardware, *version will be NULL.
Diffstat (limited to 'src/util.c')
0 files changed, 0 insertions, 0 deletions