https://bugs.winehq.org/show_bug.cgi?id=36329
Bug ID: 36329 Summary: valgrind shows an invalid read in sccrun/tests/filesystem.c Product: Wine Version: 1.7.18 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
==580== Invalid read of size 4 ==580== at 0x5FB6299: get_versionstring (filesystem.c:3628) ==580== by 0x5FB64B2: filesys_GetFileVersion (filesystem.c:3664) ==580== by 0x494782D: test_GetFileVersion (scrrun.h:3945) ==580== by 0x495129F: func_filesystem (filesystem.c:1737) ==580== by 0x4952104: run_test (test.h:584) ==580== by 0x49524F3: main (test.h:654) ==580== Address 0x4716038 is 48 bytes inside a block of size 1,732 free'd ==580== at 0x7BC4C782: notify_free (heap.c:263) ==580== by 0x7BC510C7: RtlFreeHeap (heap.c:1762) ==580== by 0x5FAA46C: heap_free (scrrun_private.h:48) ==580== by 0x5FB6481: filesys_GetFileVersion (filesystem.c:3660) ==580== by 0x494782D: test_GetFileVersion (scrrun.h:3945) ==580== by 0x495129F: func_filesystem (filesystem.c:1737) ==580== by 0x4952104: run_test (test.h:584) ==580== by 0x49524F3: main (test.h:654) ==580==
==580== Invalid read of size 2 ==580== at 0x5FB2FD8: create_file (filesystem.c:2724) ==580== by 0x5FB4894: filesys_GetFile (filesystem.c:3170) ==580== by 0x4948BA0: test_GetFile (scrrun.h:3905) ==580== by 0x49512B8: func_filesystem (filesystem.c:1742) ==580== by 0x4952104: run_test (test.h:584) ==580== by 0x49524F3: main (test.h:654) ==580== Address 0x472f536 is 86 bytes inside a block of size 148 free'd ==580== at 0x7BC4C782: notify_free (heap.c:263) ==580== by 0x7BC510C7: RtlFreeHeap (heap.c:1762) ==580== by 0x7BC759C8: RtlFreeUnicodeString (rtlstr.c:319) ==580== by 0x7B842077: GetFileAttributesW (file.c:2293) ==580== by 0x4948B21: test_GetFile (filesystem.c:546) ==580== by 0x49512B8: func_filesystem (filesystem.c:1742) ==580== by 0x4952104: run_test (test.h:584) ==580== by 0x49524F3: main (test.h:654) ==580==
=580== Invalid write of size 2 ==580== at 0x5FB300A: create_file (filesystem.c:2725) ==580== by 0x5FB4894: filesys_GetFile (filesystem.c:3170) ==580== by 0x4948BA0: test_GetFile (scrrun.h:3905) ==580== by 0x49512B8: func_filesystem (filesystem.c:1742) ==580== by 0x4952104: run_test (test.h:584) ==580== by 0x49524F3: main (test.h:654) ==580== Address 0x472f536 is 86 bytes inside a block of size 148 free'd ==580== at 0x7BC4C782: notify_free (heap.c:263) ==580== by 0x7BC510C7: RtlFreeHeap (heap.c:1762) ==580== by 0x7BC759C8: RtlFreeUnicodeString (rtlstr.c:319) ==580== by 0x7B842077: GetFileAttributesW (file.c:2293) ==580== by 0x4948B21: test_GetFile (filesystem.c:546) ==580== by 0x49512B8: func_filesystem (filesystem.c:1742) ==580== by 0x4952104: run_test (test.h:584) ==580== by 0x49524F3: main (test.h:654) ==580==
https://bugs.winehq.org/show_bug.cgi?id=36329
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |scrrun
http://bugs.winehq.org/show_bug.cgi?id=36329
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c50503d049bd28a05c7a17e16c9 | |96c3ac497a138 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- This should be fixed now with http://source.winehq.org/git/wine.git/commit/c50503d049bd28a05c7a17e16c996c3... and http://source.winehq.org/git/wine.git/commit/8595d70203c207e75403fb6e7c55d5e....
https://bugs.winehq.org/show_bug.cgi?id=36329
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.19.