Created attachment 1515903 [details] Initialise structures to zero to avoid potential problem with numeric comparison Description of problem: We use the Parse::DMIDecode perl module on all our EL7 machines as part of our inventory system. Mostly it works fine but on a small number of machines it fails with this error about an uninitialized value: perl -MParse::DMIDecode -wE 'my $decoder = new Parse::DMIDecode; $decoder->probe' Use of uninitialized value $data{"structures"} in numeric lt (<) at /usr/share/perl5/vendor_perl/Parse/DMIDecode.pm line 160. Version-Release number of selected component (if applicable): 0.03-5 How reproducible: About 1% of our machines, I've not checked but probably all similar hardware. Additional info: This seems to be similar to a bug reported in CPAN many years ago: https://rt.cpan.org/Public/Bug/Display.html?id=54956 except that the supplied patch in that report does NOT work. I have attached a patch which fixes the problem when applied to the 0.03-5 SRPM. Regards, Stephen Quinney
This package has changed maintainer in the Fedora. Reassigning to the new maintainer of this component.
Could you provide "dmidecode" command output from the machine where you observe the warning?
I finally got a new machine where I can reproduce this issue. I will provide a patched package shortly.
FEDORA-2022-8c042f403a has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-8c042f403a
FEDORA-2022-60c614805e has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-60c614805e
FEDORA-EPEL-2022-c94627008d has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-c94627008d
FEDORA-2022-8c042f403a has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-8c042f403a` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-8c042f403a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-60c614805e has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-60c614805e` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-60c614805e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2022-c94627008d has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-c94627008d See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-8c042f403a has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2022-c94627008d has been pushed to the Fedora EPEL 7 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-60c614805e has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.