[Bug 38679] New: valgrind shows uninitialized value dlls/kernel32/tests/volume.c:test_GetVolumeInformationA

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jun 2 23:56:51 CDT 2015


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

            Bug ID: 38679
           Summary: valgrind shows uninitialized value
                    dlls/kernel32/tests/volume.c:test_GetVolumeInformation
                    A
           Product: Wine
           Version: 1.7.44
          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: Fedora

==15683== Invalid read of size 1
==15683==    at 0x4F7A2A63: getmntent_r (in /usr/lib/libc-2.21.so)
==15683==    by 0x4F7A2832: getmntent (in /usr/lib/libc-2.21.so)
==15683==    by 0x7BC3B580: parse_mount_entries (directory.c:573)
==15683==    by 0x7BC3B6E8: get_default_drive_device (directory.c:706)
==15683==    by 0x7BC3EE67: get_dos_device (directory.c:2760)
==15683==    by 0x7BC40064: wine_nt_to_unix_file_name (directory.c:3164)
==15683==    by 0x7BC3FB9C: nt_to_unix_file_name_attr (directory.c:3061)
==15683==    by 0x7BC4310C: FILE_CreateFile (file.c:177)
==15683==    by 0x7BC43529: NtOpenFile (file.c:290)
==15683==    by 0x7B87EF5E: GetVolumeInformationW (volume.c:768)
==15683==    by 0x7B87F536: GetVolumeInformationA (volume.c:885)
==15683==    by 0x488FB45: test_GetVolumeInformationA (volume.c:385)
==15683==    by 0x4892E4F: func_volume (volume.c:1022)
==15683==    by 0x4893BD4: run_test (test.h:584)
==15683==    by 0x489401C: main (test.h:666)
==15683==  Address 0x541b24f is 1 bytes before a block of size 4,096 alloc'd
==15683==    at 0x400719E: malloc (vg_replace_malloc.c:299)
==15683==    by 0x4F7A27D8: allocate (in /usr/lib/libc-2.21.so)
==15683==    by 0x4F89542B: __pthread_once_slow (in
/usr/lib/libpthread-2.21.so)
==15683==    by 0x4F7A2862: getmntent (in /usr/lib/libc-2.21.so)
==15683==    by 0x7BC3B580: parse_mount_entries (directory.c:573)
==15683==    by 0x7BC3B68B: get_default_drive_device (directory.c:700)
==15683==    by 0x7BC3EE67: get_dos_device (directory.c:2760)
==15683==    by 0x7BC40064: wine_nt_to_unix_file_name (directory.c:3164)
==15683==    by 0x7BC3FB9C: nt_to_unix_file_name_attr (directory.c:3061)
==15683==    by 0x7BC4310C: FILE_CreateFile (file.c:177)
==15683==    by 0x7BC43529: NtOpenFile (file.c:290)
==15683==    by 0x7B87EF5E: GetVolumeInformationW (volume.c:768)
==15683==    by 0x7B87F536: GetVolumeInformationA (volume.c:885)
==15683==    by 0x488FB45: test_GetVolumeInformationA (volume.c:385)
==15683==    by 0x4892E4F: func_volume (volume.c:1022)
==15683==    by 0x4893BD4: run_test (test.h:584)
==15683==    by 0x489401C: main (test.h:666)
==15683==

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