[Bug 38686] New: valgrind shows an invalid read in msi/tests/action.c

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jun 4 00:43:16 CDT 2015


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

            Bug ID: 38686
           Summary: valgrind shows an invalid read in msi/tests/action.c
           Product: Wine
           Version: 1.7.44
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase, valgrind
          Severity: normal
          Priority: P2
         Component: msi
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com
      Distribution: ---

==32344== Invalid read of size 1
==32344==    at 0x4F7A2A63: getmntent_r (in /usr/lib/libc-2.21.so)
==32344==    by 0x4F7A2832: getmntent (in /usr/lib/libc-2.21.so)
==32344==    by 0x7BC3B580: parse_mount_entries (directory.c:573)
==32344==    by 0x7BC3B6E8: get_default_drive_device (directory.c:706)
==32344==    by 0x7BC3EE67: get_dos_device (directory.c:2760)
==32344==    by 0x7BC40064: wine_nt_to_unix_file_name (directory.c:3164)
==32344==    by 0x7BC3FB9C: nt_to_unix_file_name_attr (directory.c:3061)
==32344==    by 0x7BC4310C: FILE_CreateFile (file.c:177)
==32344==    by 0x7BC43529: NtOpenFile (file.c:290)
==32344==    by 0x7B87EF5E: GetVolumeInformationW (volume.c:768)
==32344==    by 0x4BD6641: source_matches_volume (media.c:65)
==32344==    by 0x4BD8B6E: ready_media (media.c:894)
==32344==    by 0x4BCA5EB: ACTION_InstallFiles (files.c:380)
==32344==    by 0x4BA2A5A: ACTION_HandleStandardAction (action.c:7632)
==32344==    by 0x4BA2C1E: ACTION_PerformAction (action.c:7661)
==32344==    by 0x4B9084C: ITERATE_Actions (action.c:507)
==32344==    by 0x4BE504A: MSI_IterateRecords (msiquery.c:188)
==32344==    by 0x4B90B89: ACTION_ProcessExecSequence (action.c:590)
==32344==    by 0x4BA34AD: MSI_InstallPackage (action.c:7859)
==32344==    by 0x4BD9A7F: MsiInstallProductW (msi.c:251)
==32344==  Address 0x458848f is 1 bytes before a block of size 4,096 alloc'd
==32344==    at 0x400719E: malloc (vg_replace_malloc.c:299)
==32344==    by 0x4F7A27D8: allocate (in /usr/lib/libc-2.21.so)
==32344==    by 0x4F89542B: __pthread_once_slow (in
/usr/lib/libpthread-2.21.so)
==32344==    by 0x4F7A2862: getmntent (in /usr/lib/libc-2.21.so)
==32344==    by 0x7BC3B580: parse_mount_entries (directory.c:573)
==32344==    by 0x7BC3B68B: get_default_drive_device (directory.c:700)
==32344==    by 0x7BC3EE67: get_dos_device (directory.c:2760)
==32344==    by 0x7BC40064: wine_nt_to_unix_file_name (directory.c:3164)
==32344==    by 0x7BC3FB9C: nt_to_unix_file_name_attr (directory.c:3061)
==32344==    by 0x7BC4310C: FILE_CreateFile (file.c:177)
==32344==    by 0x7BC43529: NtOpenFile (file.c:290)
==32344==    by 0x7B87EF5E: GetVolumeInformationW (volume.c:768)
==32344==    by 0x4BD6641: source_matches_volume (media.c:65)
==32344==    by 0x4BD8B6E: ready_media (media.c:894)
==32344==    by 0x4BCA5EB: ACTION_InstallFiles (files.c:380)
==32344==    by 0x4BA2A5A: ACTION_HandleStandardAction (action.c:7632)
==32344==    by 0x4BA2C1E: ACTION_PerformAction (action.c:7661)
==32344==    by 0x4B9084C: ITERATE_Actions (action.c:507)
==32344==    by 0x4BE504A: MSI_IterateRecords (msiquery.c:188)
==32344==    by 0x4B90B89: ACTION_ProcessExecSequence (action.c:590)
==32344==

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