bugdmidecode - Bugs: bug #33978, dmidecode does falsely use bit 7...

 
 

bug #33978: dmidecode does falsely use bit 7 when decoding the chassis-type

Submitted by:  stefanct <stefanct>
Submitted on:  Wed 10 Aug 2011 01:32:41 AM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  Anton Arapov <aarapov>
Open/Closed:  Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 14 Nov 2011 01:41:12 PM UTC, comment #3:

In CVS.

Anton Arapov <aarapov>
Project AdministratorIn charge of this item.
Mon 14 Nov 2011 01:24:02 PM UTC, comment #2:

Stefan,
Indeed there is a wrong use of dmi_chassis_type() inside dmi_table_string(). Your patch as well as concern how to fix it s valid, I will push it in CVS soon.

thanks again,

Anton Arapov <aarapov>
Project AdministratorIn charge of this item.
Mon 14 Nov 2011 10:43:22 AM UTC, comment #1:

Thanks much for the patch, Stefan. I will look at the issue at get back to you.

Anton Arapov <aarapov>
Project AdministratorIn charge of this item.
Wed 10 Aug 2011 01:32:41 AM UTC, original submission:

the bug is present in all vanilla versions since at least 2.9 and in various Debian-based distributions (Ubuntu, grml). the attached patch was also sent to Debian and Ubuntu. for details please see the patch.

also, it may be a good idea to change the semantics of the dmi_chassis_lock function/parameter (shifting inside that function instead of in the caller), but since there is only one caller, it is no issue (yet).

stefanct <stefanct>

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by aarapov (Posted a comment)
  • -email is unavailable- added by stefanct (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-08-08 aarapov StatusNone => Fixed
    2011-11-14 aarapov Open/ClosedOpen => Closed
    2011-11-14 aarapov Assigned toNone => aarapov
    2011-08-10 stefanct Attached File- => Added 0001-Make-dmi_chassis_type-aware-of-the-lock-bit.patch, #23775

    Back to the top


    Powered by Savane 3.3