https://bugs.winehq.org/show_bug.cgi?id=39486
Bug ID: 39486 Summary: Unused value in CFn_WMCommand (Coverity #1225886) Product: Wine Version: 1.7.53 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: comdlg32 Assignee: wine-bugs@winehq.org Reporter: alexhenrie24@gmail.com Distribution: ---
CID 1225886 (#1 of 1): Unused value (UNUSED_VALUE) returned_value: Assigning value from GetDlgItemTextW(hDlg, 1136, str, 256) to i here, but that stored value is overwritten before it can be used.
value_overwrite: Overwriting previous write to i with value from SendDlgItemMessageW(hDlg, 1137, 327U, 0UL, 0L).
https://bugs.winehq.org/show_bug.cgi?id=39486
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com, | |wijn@online.nl
https://bugs.winehq.org/show_bug.cgi?id=39486
--- Comment #1 from Alex Henrie alexhenrie24@gmail.com --- To clarify, the problem is that a value is saved in the variable i, but then i is overwritten a few lines later without that saved value ever being used. See https://source.winehq.org/git/wine.git/blob/65d699eb5f7fc151197f3dc9f36499ee...
https://bugs.winehq.org/show_bug.cgi?id=39486
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
https://bugs.winehq.org/show_bug.cgi?id=39486
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |bunglehead@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=39486
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |http://source.winehq.org/gi | |t/wine.git/commit/1a7121b32 | |75fd549fd964dcfe4a8638cb5e0 | |3549 Status|NEW |RESOLVED Resolution|--- |FIXED Assignee|bunglehead@gmail.com |wine-bugs@winehq.org Severity|normal |enhancement
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Fixed with http://source.winehq.org/git/wine.git/commit/1a7121b3275fd549fd964dcfe4a8638....
https://bugs.winehq.org/show_bug.cgi?id=39486
--- Comment #3 from Alex Henrie alexhenrie24@gmail.com --- Thanks Nikolay!
https://bugs.winehq.org/show_bug.cgi?id=39486
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.1.
https://bugs.winehq.org/show_bug.cgi?id=39486
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1|http://source.winehq.org/gi |1a7121b3275fd549fd964dcfe4a |t/wine.git/commit/1a7121b32 |8638cb5e03549 |75fd549fd964dcfe4a8638cb5e0 | |3549 | CC| |mstefani@redhat.com