wxWidgets/tests
Dimitri Schoolwerth 2a6545a5a7 Fixed buffer overflow when saving certain images in the Windows icon format.
When an image did not have a width with a multiple of 4 the calculations for the number of padding bytes (to get a scan line DWORD aligned) would be wrong. This caused a buffer overrun when saving the 1 bits per pixel mask.

Fixes #12937.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-03-23 15:20:25 +00:00
..
any
archive Include compilation of tests for OpenVMS (part1) 2010-12-15 09:51:48 +00:00
arrays
base64
benchmarks Fixed various typos. 2011-03-22 14:17:38 +00:00
cmdline
config
controls Use single quotes in wxMarkupText unit test to work around VC6 bug. 2011-02-27 18:36:55 +00:00
datetime Fix crashes in wxDateTime::ParseDate() for some invalid dates. 2010-11-16 22:37:52 +00:00
events Disable keyboard unit test with wxUIActionSimulator under OS X. 2010-11-05 21:37:27 +00:00
exec
file Fix FileTestCase to really test strings with embedded NULs. 2010-10-16 23:05:26 +00:00
filekind
filename Don't consider extra ".." an error in wxFileName::Normalize(). 2010-11-20 23:53:28 +00:00
filesys
font Correct wxFont::GetFamily() unit test to test for wxFONTFAMILY_DEFAULT. 2010-11-21 13:00:13 +00:00
fontmap
formatconverter
fswatcher Fixed various typos. 2011-03-22 14:17:38 +00:00
geometry
graphics More wxControl::Ellipsize() tests. 2011-02-09 19:52:50 +00:00
hashes
html Fixes for parsing invalid HTML without tag ends. 2011-01-13 14:49:55 +00:00
image Fixed buffer overflow when saving certain images in the Windows icon format. 2011-03-23 15:20:25 +00:00
interactive Fix tests compilation without wxUSE_REGEX. 2010-10-03 17:14:57 +00:00
intl
lists
log Exclude tests relying on last error being set under MinGW. 2010-10-03 17:15:24 +00:00
longlong
mbconv Disable unit tests which can't work in ANSI build. 2010-11-10 13:53:49 +00:00
menu Update accelerator unit test to pass after recent changes. 2010-12-15 12:03:54 +00:00
misc Revert r66070: "Unload bogus XRC resources in "garbage" unit test." 2010-11-21 13:00:06 +00:00
net
regex Fix tests compilation without wxUSE_REGEX. 2010-10-03 17:14:57 +00:00
scopeguard
sizers Fix wxWrapSizer minimal size calculation. 2011-02-08 13:36:13 +00:00
streams Fixed various typos. 2011-03-22 14:17:38 +00:00
strings Added precision parameter to wxString::From[C]Double(). 2011-03-13 13:53:54 +00:00
textfile
thread
toplevel
uris Disable unit tests which can't work in ANSI build. 2010-11-10 13:53:49 +00:00
validators Disable NumValidatorTestCase::Interactive() for build bot slaves. 2011-02-27 12:45:30 +00:00
vectors
weakref
window
xlocale
xml Disable unit tests which can't work in ANSI build. 2010-11-10 13:53:49 +00:00
asserthelper.cpp
asserthelper.h
descrip.mms Include compilation of tests for OpenVMS (part1) 2010-12-15 09:51:48 +00:00
dummy.cpp
horse.ani
horse.bmp
horse.cur
horse.gif
horse.ico
horse.jpg
horse.pcx
horse.png
horse.pnm
horse.tga
horse.tif
horse.xpm
makefile.bcc Add a class for parsing simple markup. 2011-02-27 12:46:42 +00:00
makefile.gcc Add a class for parsing simple markup. 2011-02-27 12:46:42 +00:00
Makefile.in Add a class for parsing simple markup. 2011-02-27 12:46:42 +00:00
makefile.vc Add a class for parsing simple markup. 2011-02-27 12:46:42 +00:00
makefile.wat Add a class for parsing simple markup. 2011-02-27 12:46:42 +00:00
runtests.bat
test_printfbench.dsp
test_test_gui.dsp Add a class for parsing simple markup. 2011-02-27 12:46:42 +00:00
test_test.dsp Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
test_vc7_printfbench.vcproj
test_vc7_test_gui.vcproj Add a class for parsing simple markup. 2011-02-27 12:46:42 +00:00
test_vc7_test.vcproj Link console programs with PNG library in monolithic build. 2011-02-05 20:25:09 +00:00
test_vc8_printfbench.vcproj
test_vc8_test_gui.vcproj Add a class for parsing simple markup. 2011-02-27 12:46:42 +00:00
test_vc8_test.vcproj Link console programs with PNG library in monolithic build. 2011-02-05 20:25:09 +00:00
test_vc9_printfbench.vcproj
test_vc9_test_gui.vcproj Add a class for parsing simple markup. 2011-02-27 12:46:42 +00:00
test_vc9_test.vcproj Link console programs with PNG library in monolithic build. 2011-02-05 20:25:09 +00:00
test.bkl Add a class for parsing simple markup. 2011-02-27 12:46:42 +00:00
test.cpp Change the return code of the test program so that aborting a test with an 2010-10-22 22:15:07 +00:00
testableframe.cpp
testableframe.h
testdata.fc
testfile.h
testprec.h Include compilation of tests for OpenVMS (part1) 2010-12-15 09:51:48 +00:00