Opened 13 years ago

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

Download all attachments as: .zip

Change History (5)

by fjahanmir, 13 years ago

Attachment: bugfix.patch added

comment:1 by Christian Franke, 13 years ago

Milestone: Release 5.43

comment:2 by Christian Franke, 13 years ago

Keywords: linux added; bug os_linux.cpp removed

comment:3 by Christian Franke, 13 years ago

Owner: changed from somebody to Doug Gilbert
Status: newassigned

comment:4 by Christian Franke, 13 years ago

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