Opened 8 years ago

Last modified 8 years ago

#13038 new bug

Bad shift operation in app_server overlay colorspace

Reported by: kallisti5 Owned by:
Priority: normal Milestone: Unscheduled
Component: Servers/app_server Version: R1/Development
Keywords: coverity Cc:
Blocked By: Blocking:
Platform: All

Description

http://cgit.haiku-os.org/haiku/tree/src/servers/app/drawing/Overlay.cpp#n254

large_shift: In expression colorKey.alpha >> alphaShift, right shifting colorKey.alpha by more than 7 bits always yields zero. The shift amount, alphaShift, is 8.

CID 1273452

Change History (1)

comment:1 by kallisti5, 8 years ago

Summary: Bad shift operation in app_kit overlay colorspaceBad shift operation in app_server overlay colorspace
Note: See TracTickets for help on using tickets.