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 Aug 10 01:32:41 2011  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Anton Arapov <aarapov>
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Mon Nov 14 13:41:12 2011, comment #3:

In CVS.

Anton Arapov <aarapov>
Project AdministratorIn charge of this item.
Mon Nov 14 13:24:02 2011, 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 Nov 14 10:43:22 2011, 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 Aug 10 01:32:41 2011, 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 File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed Aug 8 13:05:32 2012aarapovStatusNone=>Fixed
    Mon Nov 14 13:41:12 2011aarapovOpen/ClosedOpen=>Closed
    Mon Nov 14 10:43:55 2011aarapovAssigned toNone=>aarapov
    Wed Aug 10 01:32:41 2011stefanctAttached File-=>Added 0001-Make-dmi_chassis_type-aware-of-the-lock-bit.patch, #23775

    Back to the top


    Powered by Savane 3.1-cleanup