[Bug 38344] New: Invalid memory access in get_registry_locale_info()

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Apr 3 06:21:15 CDT 2015


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 at winehq.org
          Reporter: bunglehead at 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/8826ba1bc86fefa22c543608585ae8f3b4310a5f
:

---
author    Sebastian Lackner <sebastian at fds-team.de>    
Tue, 16 Dec 2014 03:10:34 +0000 (04:10 +0100)
committer    Alexandre Julliard <julliard at 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.



More information about the wine-bugs mailing list