bugdmidecode - Bugs: bug #50023, duplicate output (both _SM_ and...

 
 

bug #50023: duplicate output (both _SM_ and _SM3_)

Submitted by:  None
Submitted on:  Wed 11 Jan 2017 11:11:29 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Duplicate
Privacy: PublicAssigned to: Jean Delvare <khali>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 11 Jan 2017 12:52:35 PM UTC, comment #1:

Duplicate of bug #50022. Please don't create multiple tickets for the same issue.

Jean Delvare <khali>
Project AdministratorIn charge of this item.
Wed 11 Jan 2017 11:11:29 AM UTC, original submission:

When working from memory, on system with both SM and SM3 dmidecode (latest) output the structures twice.

This is due to a missing
if (found) goto done;
at /dev/mem scan code.

more details:
- when reading sysfs, code searches for SM3, SM, DMI in that order and exit after the first found.
- when reading memory, code searches for SM3, SM, DMI in that order and does not evaluate "found" in the for loop - causing each one to be printed. As DMI contined in SM it can not be printed if DMI found (fp is advanced by 16, skipping it), however both SM3 and SM will be printed.

By spec SM3 must contain on SM structs, so please fix. Fix is simple, add in line 4829:
if (found) goto done;

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by khali (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 11 Jan 2017 12:52:35 PM UTCkhaliStatusNone=>Duplicate
      Assigned toNone=>khali
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1