[Bug 43335] New: wintrust: Warning and note while building (GCC 7.1.1)
https://bugs.winehq.org/show_bug.cgi?id=43335 Bug ID: 43335 Summary: wintrust: Warning and note while building (GCC 7.1.1) Product: Wine Version: 2.12 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: wintrust Assignee: wine-bugs(a)winehq.org Reporter: andrey.goosev(a)gmail.com Distribution: --- asn.c: In function ‘CRYPT_AsnDecodeOidIgnoreTag’: asn.c:1847:50: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] snprintf(firstTwo, sizeof(firstTwo), "%d.%d", ^~~~~~~ asn.c:1847:13: note: ‘snprintf’ output between 4 and 7 bytes into a destination of size 6 snprintf(firstTwo, sizeof(firstTwo), "%d.%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pbEncoded[1 + lenBytes] / 40, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pbEncoded[1 + lenBytes] - (pbEncoded[1 + lenBytes] / 40) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * 40); ~~~~~ wine-2.12-103-g989a9dc917 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43335 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de --- Comment #1 from Fabian Maurer <dark.shadow4(a)web.de> --- Is this still an issue as of wine-2.20? Looks fixed to me. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43335 Andrey Gusev <andrey.goosev(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Andrey Gusev <andrey.goosev(a)gmail.com> --- No longer showing with wine-2.21 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43335 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 2.22. -- 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.
participants (1)
-
wine-bugs@winehq.org