Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1515903 Details for
Bug 1661251
Fails due to uninitialised value
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh109 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
Migrated Products
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Initialise structures to zero to avoid potential problem with numeric comparison
Parse-DMIDecode-unitialised.patch (text/plain), 598 bytes, created by
Stephen Quinney
on 2018-12-20 15:22:14 UTC
(
hide
)
Description:
Initialise structures to zero to avoid potential problem with numeric comparison
Filename:
MIME Type:
Creator:
Stephen Quinney
Created:
2018-12-20 15:22:14 UTC
Size:
598 bytes
patch
obsolete
>diff -ruN Parse-DMIDecode-0.03.orig/lib/Parse/DMIDecode.pm Parse-DMIDecode-0.03/lib/Parse/DMIDecode.pm >--- Parse-DMIDecode-0.03.orig/lib/Parse/DMIDecode.pm 2018-12-19 16:43:43.467622720 +0000 >+++ Parse-DMIDecode-0.03/lib/Parse/DMIDecode.pm 2018-12-19 16:47:20.788010772 +0000 >@@ -137,6 +137,9 @@ > $data{$_} = undef if !exists $data{$_}; > } > >+ # {structures} should be zero if missing, as we use it in comparisons below. >+ $data{structures} = 0 if !defined $data{structures}; >+ > my $raw_handle_data = ''; > for (; $i < @lines; $i++) { > if ($lines[$i] =~ /^Handle [0-9A-Fx]+/) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1661251
: 1515903