https://bugs.winehq.org/show_bug.cgi?id=39494
Bug ID: 39494 Summary: Unused value in ME_RTFTblAttrHook (Coverity #1269505) Product: Wine Version: 1.7.53 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: richedit Assignee: wine-bugs@winehq.org Reporter: alexhenrie24@gmail.com Distribution: ---
CID 1269505 (#1 of 1): Unused value (UNUSED_VALUE) assigned_value: Assigning value -16777216 to pFmt->rgxTabs[cellNum] here, but that stored value is overwritten before it can be used.
value_overwrite: Overwriting previous write to pFmt->rgxTabs[cellNum] with value from 0xffffff & info->rtfParam.
https://source.winehq.org/git/wine.git/blob/65d699eb5f7fc151197f3dc9f36499ee...
It's not clear whether this code was supposed to be
pFmt->rgxTabs[cellNum] &= ~0x00FFFFFF; pFmt->rgxTabs[cellNum] |= 0x00FFFFFF & info->rtfParam;
or just
pFmt->rgxTabs[cellNum] = 0x00FFFFFF & info->rtfParam;
https://bugs.winehq.org/show_bug.cgi?id=39494
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dylan.ah.smith@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=39494
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
https://bugs.winehq.org/show_bug.cgi?id=39494
Huw Davies huw.davies@physics.ox.ac.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |0db7cb60028cb1ef3354ce6f3d0 | |64d3cafd22cd7 CC| |huw.davies@physics.ox.ac.uk Resolution|--- |FIXED
--- Comment #1 from Huw Davies huw.davies@physics.ox.ac.uk --- Fixed.
https://bugs.winehq.org/show_bug.cgi?id=39494
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.6.