Product SiteDocumentation Site

4.231. python-dmidecode

An updated python-dmidecode package that fixes various bugs is now available for Red Hat Enterprise Linux 6.
The python-dmidecode package provides a python extension module that uses the code-base of the dmidecode utility and presents the data as python data structures or as XML data using the libxml2 library.
The python-dmidecode package has been upgraded to upstream version 3.10.13, which provides a number of bug fixes over the previous version. (BZ#621567)
Bug Fixes
BZ#627901
When trying to identify the processor type by performing a string comparison, Python terminated with a segmentation fault. This was caused by DMI tables which did not report the CPU processor information as a string and returned a NULL value instead. This update adds additional checks for NULL values before doing the string comparison.
BZ#646429
Previously, when calling the memcpy() function on the IBM System z machine which was under heavy memory load, a SIGILL signal was triggered. As a consequence, the complete Python interpreter core dumped. A signal handler was added to properly handle heavy memory loads.
BZ#667363
Prior to this update, when running the rhn_register utility, providing a valid user name and password, and clicking the Forward button, the tool terminated unexpectedly with a segmentation fault. This was caused by the dmi_processor_id() function not checking whether the version pointer was NULL. This update adds additional checks for NULL values, fixing the problem.
All users of python-dmidecode are advised to upgrade to this updated package, which resolves these bugs.
An updated python-dmidecode package that fixes a bug is now available for Red Hat Enterprise Linux 6.
The python-dmidecode package provides a Python extension module that uses the code-base of the dmidecode utility and presents the data as Python data structures or as XML data using the libxml2 library.

Bug Fix

BZ#726614
Previously, certain DMI (Direct Media Interface) tables did not report CPU information as a string and returned the NULL value instead. Consequently, Python terminated unexpectedly with a segmentation fault when trying to identify the CPU type by performing a string comparison. With this update, additional checks for NULL values, performed prior the string comparison, have been added to the code, thus fixing this bug.
All users of python-dmidecode are advised to upgrade to this updated package, which fixes this bug.