[Bug 36641] New: valgrind shows an anvalid read in wininet/tests/http.c

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jun 1 18:28:18 CDT 2014


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

            Bug ID: 36641
           Summary: valgrind shows an anvalid read in wininet/tests/http.c
           Product: Wine
           Version: 1.7.19
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase
          Severity: normal
          Priority: P2
         Component: wininet
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com
        Depends on: 36637

==32063== Invalid read of size 2
==32063==    at 0x4D3E66E: HTTP_HttpQueryInfoW (http.c:3596)
==32063==    by 0x4D3F1B0: HttpQueryInfoW (http.c:3883)
==32063==    by 0x4D3F402: HttpQueryInfoA (http.c:3944)
==32063==    by 0x495E46B: InternetReadFile_test (http.c:629)
==32063==    by 0x497D687: func_http (http.c:5329)
==32063==    by 0x4994B90: run_test (test.h:584)
==32063==    by 0x4994F7F: main (test.h:654)
==32063==  Address 0x471e21e is 0 bytes after a block of size 822 alloc'd
==32063==    at 0x7BC4C75D: notify_alloc (heap.c:255)
==32063==    by 0x7BC50FA1: RtlAllocateHeap (heap.c:1716)
==32063==    by 0x4D35000: heap_alloc (internet.h:116)
==32063==    by 0x4D3FD2F: HTTP_build_req (http.c:4170)
==32063==    by 0x4D36905: build_response_header (http.c:732)
==32063==    by 0x4D3E5A4: HTTP_HttpQueryInfoW (http.c:3576)
==32063==    by 0x4D3F1B0: HttpQueryInfoW (http.c:3883)
==32063==    by 0x4D3F402: HttpQueryInfoA (http.c:3944)
==32063==    by 0x495E46B: InternetReadFile_test (http.c:629)
==32063==    by 0x497D687: func_http (http.c:5329)
==32063==    by 0x4994B90: run_test (test.h:584)
==32063==    by 0x4994F7F: main (test.h:654)
==32063== 

==32063== Invalid read of size 4
==32063==    at 0x7BC4D939: HEAP_CreateFreeBlock (heap.c:591)
==32063==    by 0x7BC4DC60: HEAP_ShrinkBlock (heap.c:694)
==32063==    by 0x7BC50F6D: RtlAllocateHeap (heap.c:1713)
==32063==    by 0x4D35000: heap_alloc (internet.h:116)
==32063==    by 0x4D3F382: HttpQueryInfoA (http.c:3934)
==32063==    by 0x495E5B7: InternetReadFile_test (http.c:639)
==32063==    by 0x497D6B3: func_http (http.c:5331)
==32063==    by 0x4994B90: run_test (test.h:584)
==32063==    by 0x4994F7F: main (test.h:654)
==32063==  Address 0x4760000 is not stack'd, malloc'd or (recently) free'd
==32063== 

==32063== Thread 4:
==32063== Invalid write of size 4
==32063==    at 0x7BC93356: NtQuerySystemTime (time.c:467)
==32063==    by 0x7BC8A8FB: NtDelayExecution (sync.c:940)
==32063==    by 0x7B876351: SleepEx (sync.c:108)
==32063==    by 0x7B87630B: Sleep (sync.c:97)
==32063==    by 0x4D358A2: collect_connections_proc (http.c:358)
==32063==    by 0x7BC87137: ??? (signal_i386.c:2571)
==32063==    by 0x7BC87180: call_thread_func (signal_i386.c:2630)
==32063==    by 0x7BC87115: ??? (signal_i386.c:2571)
==32063==    by 0x7BC8E560: start_thread (thread.c:428)
==32063==    by 0x4EA7BD89: start_thread (in /usr/lib/libpthread-2.18.so)
==32063==    by 0x4E95CA0D: clone (in /usr/lib/libc-2.18.so)
==32063==  Address 0x658e8bc is on thread 1's stack
==32063== 

==32063== Invalid read of size 4
==32063==    at 0x7BC1EB70: __x86.get_pc_thunk.bx (in
/home/austin/wine-valgrind/dlls/ntdll/ntdll.dll.so)
==32063==    by 0x7BC8A8FB: NtDelayExecution (sync.c:940)
==32063==    by 0x7B876351: SleepEx (sync.c:108)
==32063==    by 0x7B87630B: Sleep (sync.c:97)
==32063==    by 0x4D358A2: collect_connections_proc (http.c:358)
==32063==    by 0x7BC87137: ??? (signal_i386.c:2571)
==32063==    by 0x7BC87180: call_thread_func (signal_i386.c:2630)
==32063==    by 0x7BC87115: ??? (signal_i386.c:2571)
==32063==    by 0x7BC8E560: start_thread (thread.c:428)
==32063==    by 0x4EA7BD89: start_thread (in /usr/lib/libpthread-2.18.so)
==32063==    by 0x4E95CA0D: clone (in /usr/lib/libc-2.18.so)
==32063==  Address 0x658e8bc is on thread 1's stack
==32063== 

etc.

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