Opened 11 years ago

Closed 11 years ago

#225 closed patch (fixed)

[bug] Bitwise OR should be bitwise AND

Reported by: fjahanmir Owned by: Doug Gilbert
Priority: minor Milestone: Release 5.43
Component: all Version: 5.42
Keywords: linux Cc:

Description

In os_linux.cpp, function sg_io_cmnd_io, the bitwise OR with SG_INFO_CHECK should be a bitwise AND -- SG_INFO_CHECK is a mask used to check if that particular bit is set.

Patch attached to fix the bug.

Attachments (1)

bugfix.patch (507 bytes) - added by fjahanmir 11 years ago.

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by fjahanmir

Attachment: bugfix.patch added

comment:1 Changed 11 years ago by Christian Franke

Milestone: Release 5.43

comment:2 Changed 11 years ago by Christian Franke

Keywords: linux added; bug os_linux.cpp removed

comment:3 Changed 11 years ago by Christian Franke

Owner: changed from somebody to Doug Gilbert
Status: newassigned

comment:4 Changed 11 years ago by Christian Franke

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.