[Bug 46689] New: kernel32/tests/locale.c shows an invalid write

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Feb 21 02:21:51 CST 2019


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

            Bug ID: 46689
           Summary: kernel32/tests/locale.c shows an invalid write
           Product: Wine
           Version: 4.2
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase, valgrind
          Severity: normal
          Priority: P2
         Component: kernel32
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com
      Distribution: ---

../../../tools/runtest -q -P wine -T ../../.. -M kernel32.dll -p
kernel32_test.exe.so locale && touch locale.ok
preloader: Warning: failed to reserve range 00110000-68000000                   
preloader: Warning: failed to reserve range 7f000000-82000000                   
==21972== Invalid write of size 2                                               
==21972==    at 0x7B4818FB: wine_decompose (decompose.c:2218)                   
==21972==    by 0x7B48197A: wine_decompose (decompose.c:2234)                   
==21972==    by 0x7B480447: wine_decompose_string (normalize.c:100)             
==21972==    by 0x7B451617: NormalizeString (locale.c:5403)                     
==21972==    by 0x4AF1149: test_NormalizeString (locale.c:5770)                 
==21972==    by 0x4B07EBC: func_locale (locale.c:6021)                          
==21972==    by 0x4B7172E: run_test (test.h:617)                                
==21972==    by 0x4B7216C: main (test.h:701)                                    
==21972==  Address 0x494107c is 0 bytes after a recently re-allocated block of
size 4 alloc'd        
==21972==    at 0x7BC48A83: notify_alloc (heap.c:260)                           
==21972==    by 0x7BC4BFA7: RtlAllocateHeap (heap.c:1726)                       
==21972==    by 0x7B4433F8: HeapAlloc (heap.c:271)                              
==21972==    by 0x7B44AB49: heap_realloc (heap.h:40)                            
==21972==    by 0x7B4515F7: NormalizeString (locale.c:5396)                     
==21972==    by 0x4AF1149: test_NormalizeString (locale.c:5770)                 
==21972==    by 0x4B07EBC: func_locale (locale.c:6021)                          
==21972==    by 0x4B7172E: run_test (test.h:617)                                
==21972==    by 0x4B7216C: main (test.h:701)                                    
==21972==

-- 
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