#2 Security mode bad shift

closed
nobody
None
5
2005-10-18
2005-08-07
No

hdparm-6.1 contains a left shift of 8 on the assignment
of request.data[1] (security_mode). This is wrong as
you are already working on an unsigned char instead of
a 16 bit word.

Attached patch fixes this.

Discussion

  • Remove shift on assignment of request->data[1] (security_mode)

     
  • Mark Lord
    Mark Lord
    2005-10-18

    • status: open --> closed