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: 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 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 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 08 Aug 2012 01:05:32 PM UTCaarapovStatusNone=>Fixed
    Mon 14 Nov 2011 01:41:12 PM UTCaarapovOpen/ClosedOpen=>Closed
    Mon 14 Nov 2011 10:43:55 AM UTCaarapovAssigned toNone=>aarapov
    Wed 10 Aug 2011 01:32:41 AM UTCstefanctAttached File-=>Added 0001-Make-dmi_chassis_type-aware-of-the-lock-bit.patch, #23775

    Back to the top


    Powered by Savane 3.1-cleanup