http://bugs.winehq.org/show_bug.cgi?id=16688
Summary: tests/rsaenh: array size smaller than bound length Product: Wine Version: 1.1.11 Platform: PC OS/Version: OpenBSD Status: NEW Keywords: source, testcase Severity: enhancement Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
bash-3.2$ make ccache gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wwrite-strings -Wpointer-arith -I/usr/local/include -g -O2 -o rsaenh.o rsaenh.c rsaenh.c: In function `test_block_cipher_modes': rsaenh.c:462: warning: array size (23) smaller than bound length (24)
OpenBSD 4.4, gcc 3.3.5 (propolice)
http://bugs.winehq.org/show_bug.cgi?id=16688
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |juan_lang@yahoo.com
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2009-11-11 15:45:11 --- This was pretty minor, since reading past a static array will succeed when there are more static data afterward, which there are in this case. The extra byte also wasn't encrypted, so the tests didn't actually depend on there being a "magic" value in the last byte of abData.
Still, patch sent: http://www.winehq.org/pipermail/wine-patches/2009-November/081202.html
http://bugs.winehq.org/show_bug.cgi?id=16688
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #2 from Austin English austinenglish@gmail.com 2009-11-12 11:31:22 --- (In reply to comment #1)
This was pretty minor, since reading past a static array will succeed when there are more static data afterward, which there are in this case. The extra byte also wasn't encrypted, so the tests didn't actually depend on there being a "magic" value in the last byte of abData.
OpenBSD being a bit proactive ;-).
Still, patch sent: http://www.winehq.org/pipermail/wine-patches/2009-November/081202.html
Committed: http://source.winehq.org/git/wine.git/?a=commitdiff;h=9369dfbab6554abed3bc3a...
Thanks!
http://bugs.winehq.org/show_bug.cgi?id=16688
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2009-11-13 12:43:32 --- Closing bugs fixed in 1.1.33.