[Bug 44160] New: Possible access to unintended field in "tools/winegcc/ winegcc.c" line 1633
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Dec 12 03:29:39 CST 2017
https://bugs.winehq.org/show_bug.cgi?id=44160
Bug ID: 44160
Summary: Possible access to unintended field in
"tools/winegcc/winegcc.c" line 1633
Product: Wine
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: tools
Assignee: wine-bugs at winehq.org
Reporter: petrum at gmail.com
Distribution: ---
While experimenting with a CodeSonar plugin we develop, we noticed a
potential bug in file "tools/winegcc/winegcc.c" line 1633, function main
else if (!strncmp("--lib-suffix", argv[i], 12) && opts.wine_objdir) //HERE
{
if (argv[i][12] == '=') opts.lib_suffix = argv[i] + 13;
else opts.lib_suffix = argv[++i];
raw_compiler_arg = raw_linker_arg = 0;
}
Wasn't the intention to access lib_suffix (instead of wine_objdir)?
Regards,
Petru Florin Mihancea
--
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