Red Hat Bugzilla – Bug 199956
dmidecode segfaults on ia64.
Last modified: 2010-10-22 01:30:37 EDT
Using dmidecode-2.2 from kernel-utils on ia64 segfaults on the output. This is
The version checked is :
In the dmidecode.c, particularly in static const char *dmi_string(struct
dmi_header *dm, u8 s), one declaration is made by "static str_tmp" that will
lately be associated to a pointer; therefore the higher bits might be wiped out.
Attached you will find a patch that fixes the problem.
Created attachment 132928 [details]
dmidecode ia64 segfault fix.
We see this on both of our Unisys IA64 platforms.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
Fix appears correct, bug report appears correct.
Even better looking at the other fixes might be to pull in 2.8
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.