https://bugs.winehq.org/show_bug.cgi?id=38344 Bug ID: 38344 Summary: Invalid memory access in get_registry_locale_info() Product: Wine Version: 1.7.39 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs(a)winehq.org Reporter: bunglehead(a)gmail.com Distribution: --- Running 'make monthcal.ok' under valgrind report invalid access in current Wine: --- ==8452== Invalid read of size 2 ==8452== at 0x7B849503: get_registry_locale_info.isra.0 (locale.c:1210) ==8452== by 0x7B84AA3B: GetLocaleInfoW (locale.c:1398) ==8452== by 0x7B84C304: GetLocaleInfoA (locale.c:1290) ==8452== by 0x4C135D0: test_firstDay (monthcal.c:875) ==8452== by 0x4C135D0: func_monthcal (???:0) ==8452== by 0x4BDB822: main (test.h:584) ==8452== Address 0x48a0fb6 is 2 bytes after a recently re-allocated block of size 12 alloc'd ==8452== at 0x7BC4E507: initialize_block (heap.c:232) ==8452== by 0x7BC4E507: RtlAllocateHeap (???:0) ==8452== by 0x7B84252D: HeapAlloc (heap.c:271) ==8452== by 0x7B849494: get_registry_locale_info.isra.0 (locale.c:1170) ==8452== by 0x7B84AA3B: GetLocaleInfoW (locale.c:1398) ==8452== by 0x7B84C304: GetLocaleInfoA (locale.c:1290) ==8452== by 0x4C135D0: test_firstDay (monthcal.c:875) ==8452== by 0x4C135D0: func_monthcal (???:0) ==8452== by 0x4BDB822: main (test.h:584) --- This is a regression introduced with http://source.winehq.org/git/wine.git/commit/8826ba1bc86fefa22c543608585ae8f... : --- author Sebastian Lackner <sebastian(a)fds-team.de> Tue, 16 Dec 2014 03:10:34 +0000 (04:10 +0100) committer Alexandre Julliard <julliard(a)winehq.org> Tue, 16 Dec 2014 12:32:53 +0000 (13:32 +0100) commit 8826ba1bc86fefa22c543608585ae8f3b4310a5f --- -- 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.