Opened 8 years ago

Closed 7 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 8 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by fjahanmir

Attachment: bugfix.patch added

comment:1 Changed 8 years ago by Christian Franke

Milestone: Release 5.43

comment:2 Changed 8 years ago by Christian Franke

Keywords: linux added; bug os_linux.cpp removed

comment:3 Changed 7 years ago by Christian Franke

Owner: changed from somebody to Doug Gilbert
Status: newassigned

comment:4 Changed 7 years ago by Christian Franke

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