https://bugs.winehq.org/show_bug.cgi?id=43332
Bug ID: 43332 Summary: rsaenh: Warning and notes while building (GCC 7.1.1) Product: Wine Version: 2.12 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: rsaenh Assignee: wine-bugs@winehq.org Reporter: andrey.goosev@gmail.com Distribution: ---
rsaenh.c: In function ‘create_container_key.constprop’: rsaenh.c:156:23: warning: ‘%s’ directive writing up to 259 bytes into a region of size 235 [-Wformat-overflow=] #define RSAENH_REGKEY "Software\Wine\Crypto\RSA\%s" ^ rsaenh.c:156:23: note: in definition of macro ‘RSAENH_REGKEY’ #define RSAENH_REGKEY "Software\Wine\Crypto\RSA\%s" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rsaenh.c:1102:5: note: ‘sprintf’ output between 26 and 285 bytes into a destination of size 260 sprintf(szRSABase, RSAENH_REGKEY, pKeyContainer->szName); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wine-2.12-103-g989a9dc917
https://bugs.winehq.org/show_bug.cgi?id=43332
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gijsvrm@gmail.com
--- Comment #1 from Gijs Vermeulen gijsvrm@gmail.com --- I could confirm this with wine-2.13 and gcc-7.1.0, but can't anymore with current wine-git. This is definitely fixed, probably by: https://source.winehq.org/git/wine.git/commit/f7eb53b1f9aac5a3d1252e31b64947...
https://bugs.winehq.org/show_bug.cgi?id=43332
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #2 from Andrey Gusev andrey.goosev@gmail.com --- No longer showing with wine-2.21
https://bugs.winehq.org/show_bug.cgi?id=43332
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.22.