Masked wrong length while parsing [Device Revision]

Bug #1860402 reported by Puwen Hsiao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyghmi
New
Undecided
Unassigned

Bug Description

$ git rev-parse --verify HEAD
fb9b371d38b2e14e932be3bd6a26497370ba0dee

File: pyghmi/ipmi/sdr.py

Line: 633, self.device_rev = rsp['data'][1] & 0b111

According to the IPMI specification, the [Device Revision]'s bit mask is [3:0]. Therefore 0b1111 should be used instead of 0b111.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.