[Bug 36279] New: valgrind shows an invalid read in gdi32/tests/brush.c
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun May 4 00:10:51 CDT 2014
https://bugs.winehq.org/show_bug.cgi?id=36279
Bug ID: 36279
Summary: valgrind shows an invalid read in gdi32/tests/brush.c
Product: Wine
Version: 1.7.18
Hardware: x86
OS: Linux
Status: NEW
Keywords: download, source, testcase
Severity: normal
Priority: P2
Component: gdi32
Assignee: wine-bugs at winehq.org
Reporter: austinenglish at gmail.com
../../../tools/runtest -q -P wine -T ../../.. -M gdi32.dll -p gdi32_test.exe.so
brush && touch brush.ok
preloader: Warning: failed to reserve range 00110000-68000000
preloader: Warning: failed to reserve range 7f000000-82000000
==16196== Invalid read of size 4
==16196== at 0x400AE1E: memcpy (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==16196== by 0x537B95D: copy_bitmapinfo (gdi_private.h:521)
==16196== by 0x5380F4C: select_pattern_brush (objects.c:1915)
==16196== by 0x53812CE: pattern_brush (objects.c:2001)
==16196== by 0x537A4F1: dibdrv_PatBlt (graphics.c:1110)
==16196== by 0x5361E7E: PatBlt (bitblt.c:550)
==16196== by 0x4C3F645: test_palette_brush (brush.c:318)
==16196== by 0x4C3F96C: func_brush (brush.c:351)
==16196== by 0x4C98CE0: run_test (test.h:584)
==16196== by 0x4C990CF: main (test.h:654)
==16196== Address 0x470f7fc is 8 bytes after a block of size 12 alloc'd
==16196== at 0x7BC4C735: notify_alloc (heap.c:255)
==16196== by 0x7BC50F79: RtlAllocateHeap (heap.c:1716)
==16196== by 0x53DB053: CreatePalette (palette.c:121)
==16196== by 0x4C3F517: test_palette_brush (brush.c:312)
==16196== by 0x4C3F96C: func_brush (brush.c:351)
==16196== by 0x4C98CE0: run_test (test.h:584)
==16196== by 0x4C990CF: main (test.h:654)
==16196==
--
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