[Bug 43345] New: valgrind shows a use after free in dlls/crypt32/tests/ main.c

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jul 13 15:09:45 CDT 2017


https://bugs.winehq.org/show_bug.cgi?id=43345

            Bug ID: 43345
           Summary: valgrind shows a use after free in
                    dlls/crypt32/tests/main.c
           Product: Wine
           Version: 2.12
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase, valgrind
          Severity: normal
          Priority: P2
         Component: crypt32
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com
      Distribution: Gentoo

../../../tools/runtest -q -P wine -T ../../.. -M crypt32.dll -p
crypt32_test.exe.so main && touch main.ok
preloader: Warning: failed to reserve range 00110000-68000000
preloader: Warning: failed to reserve range 7f000000-82000000
==15465== Invalid free() / delete / delete[] / realloc()
==15465==    at 0x7BC5116B: notify_realloc (heap.c:270)
==15465==    by 0x7BC55C2C: RtlReAllocateHeap (heap.c:1896)
==15465==    by 0x4C14B5F: CryptMemRealloc (main.c:128)
==15465==    by 0x4A51955: test_cryptAllocate (main.c:204)
==15465==    by 0x4A52A4A: func_main (main.c:469)
==15465==    by 0x4A7EA22: run_test (test.h:603)
==15465==    by 0x4A7EE74: main (test.h:687)
==15465==  Address 0x48ec340 is 0 bytes after a block of size 0 alloc'd
==15465==    at 0x7BC5105F: notify_alloc (heap.c:254)
==15465==    by 0x7BC5554D: RtlAllocateHeap (heap.c:1716)
==15465==    by 0x4C14B18: CryptMemAlloc (main.c:123)
==15465==    by 0x4A51942: test_cryptAllocate (main.c:203)
==15465==    by 0x4A52A4A: func_main (main.c:469)
==15465==    by 0x4A7EA22: run_test (test.h:603)
==15465==    by 0x4A7EE74: main (test.h:687)
==15465==

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list