https://bugs.winehq.org/show_bug.cgi?id=37652
Bug ID: 37652 Summary: valgrind shows several invalid reads in comctl32/tests/imagelist.c Product: Wine Version: 1.7.32 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase, valgrind Severity: normal Priority: P2 Component: comctl32 Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: ---
==17729== Invalid read of size 4 ==17729== at 0x4B7DE47: is_valid (imagelist.c:3756) ==17729== by 0x4B80547: ImageList_Destroy (imagelist.c:888) ==17729== by 0x49BCFCF: func_imagelist (imagelist.c:1992) ==17729== by 0x49A5837: main (test.h:584) ==17729== Address 0xdeadbeef is on thread 1's stack ==17729==
==17729== Invalid read of size 4 ==17729== at 0x4B7DE47: is_valid (imagelist.c:3756) ==17729== by 0x4B839DD: ImageList_ReplaceIcon (imagelist.c:2577) ==17729== by 0x49BD6CB: test_add_remove (imagelist.c:418) ==17729== by 0x49BD6CB: func_imagelist (???:0) ==17729== by 0x49A5837: main (test.h:584) ==17729== Address 0xdeadbeef is on thread 1's stack ==17729==
==17729== Invalid read of size 4 ==17729== at 0x4B7DE47: is_valid (imagelist.c:3756) ==17729== by 0x4B82647: ImageList_GetImageCount (imagelist.c:1860) ==17729== by 0x49BD78E: test_imagecount (imagelist.c:429) ==17729== by 0x49BD78E: func_imagelist (???:0) ==17729== by 0x49A5837: main (test.h:584) ==17729== Address 0xdeadbeef is on thread 1's stack ==17729==
==17729== Invalid read of size 4 ==17729== at 0x4B7DE47: is_valid (imagelist.c:3756) ==17729== by 0x4B80B3A: ImageList_DrawIndirect (imagelist.c:1378) ==17729== by 0x49BDC3F: func_imagelist (imagelist.c:502) ==17729== by 0x49A5837: main (test.h:584) ==17729== Address 0xdeadbeef is on thread 1's stack ==17729==
==17249== Invalid read of size 4 ==17249== at 0x4DA1E47: is_valid (imagelist.c:3756) ==17249== by 0x4DA6594: ImageList_GetIconSize (imagelist.c:1832) ==17249== by 0x4BBE85C: test_iconsize (imagelist.c:1967) ==17249== by 0x4BBE85C: func_imagelist (???:0) ==17249== by 0x4BA5837: main (test.h:584) ==17249== Address 0xdeadbeef is on thread 1's stack ==17249==
https://bugs.winehq.org/show_bug.cgi?id=37652
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Austin English from comment #0)
==17729== Invalid read of size 4 ==17729== at 0x4B7DE47: is_valid (imagelist.c:3756) ==17729== by 0x4B80547: ImageList_Destroy (imagelist.c:888) ==17729== by 0x49BCFCF: func_imagelist (imagelist.c:1992) ==17729== by 0x49A5837: main (test.h:584) ==17729== Address 0xdeadbeef is on thread 1's stack ==17729==
==17729== Invalid read of size 4 ==17729== at 0x4B7DE47: is_valid (imagelist.c:3756) ==17729== by 0x4B839DD: ImageList_ReplaceIcon (imagelist.c:2577) ==17729== by 0x49BD6CB: test_add_remove (imagelist.c:418) ==17729== by 0x49BD6CB: func_imagelist (???:0) ==17729== by 0x49A5837: main (test.h:584) ==17729== Address 0xdeadbeef is on thread 1's stack ==17729==
==17729== Invalid read of size 4 ==17729== at 0x4B7DE47: is_valid (imagelist.c:3756) ==17729== by 0x4B82647: ImageList_GetImageCount (imagelist.c:1860) ==17729== by 0x49BD78E: test_imagecount (imagelist.c:429) ==17729== by 0x49BD78E: func_imagelist (???:0) ==17729== by 0x49A5837: main (test.h:584) ==17729== Address 0xdeadbeef is on thread 1's stack ==17729==
==17729== Invalid read of size 4 ==17729== at 0x4B7DE47: is_valid (imagelist.c:3756) ==17729== by 0x4B80B3A: ImageList_DrawIndirect (imagelist.c:1378) ==17729== by 0x49BDC3F: func_imagelist (imagelist.c:502) ==17729== by 0x49A5837: main (test.h:584) ==17729== Address 0xdeadbeef is on thread 1's stack ==17729==
==17249== Invalid read of size 4 ==17249== at 0x4DA1E47: is_valid (imagelist.c:3756) ==17249== by 0x4DA6594: ImageList_GetIconSize (imagelist.c:1832) ==17249== by 0x4BBE85C: test_iconsize (imagelist.c:1967) ==17249== by 0x4BBE85C: func_imagelist (???:0) ==17249== by 0x4BA5837: main (test.h:584) ==17249== Address 0xdeadbeef is on thread 1's stack ==17249==
Those all are intentional - see address value, you should supress them.
https://bugs.winehq.org/show_bug.cgi?id=37652
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to Nikolay Sivov from comment #1)
Those all are intentional - see address value, you should supress them.
Okay, thanks.
https://bugs.winehq.org/show_bug.cgi?id=37652
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Austin English austinenglish@gmail.com --- Closing.