[Bug 39495] New: Uninitialized scalar variable in break_add_watch_from_lvalue (Coverity #214722)
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Oct 23 02:26:51 CDT 2015
https://bugs.winehq.org/show_bug.cgi?id=39495
Bug ID: 39495
Summary: Uninitialized scalar variable in
break_add_watch_from_lvalue (Coverity #214722)
Product: Wine
Version: 1.7.53
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: winedbg
Assignee: wine-bugs at winehq.org
Reporter: alexhenrie24 at gmail.com
Distribution: ---
1. var_decl: Declaring variable lval without initializer.
CID 214722 (#1 of 1): Uninitialized scalar variable (UNINIT)
2. uninit_use_in_call: Using uninitialized value lval.cookie when calling
break_add_watch
https://source.winehq.org/git/wine.git/blob/65d699eb5f7fc151197f3dc9f36499ee3e43f8e7:/programs/winedbg/break.c#l435
https://source.winehq.org/git/wine.git/blob/65d699eb5f7fc151197f3dc9f36499ee3e43f8e7:/programs/winedbg/break.c#l391
In other words, break_add_watch_from_lvalue does not initialize the cookie
field, but break_add_watch needs the cookie field to be set.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list