shell32: Fixes for bugs found by valgrind on shell32 tests harness.
commit1be2e1edef9440a947c03ddc73a72fab64f3858d
authorEric Pouech <eric.pouech@wanadoo.fr>
Wed, 22 Feb 2006 11:04:02 +0000 (22 12:04 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 22 Feb 2006 11:04:02 +0000 (22 12:04 +0100)
tree26bc4ec5a56af571fed13661d380907bfc773f65
parent8d845e3a1a4d8f05b20b5727dd578ea1b1e731e9
shell32: Fixes for bugs found by valgrind on shell32 tests harness.
- read strings from left to right (PathGetDriveNumberW)
- don't access buffers before they are filled (SHGetPathFromIDListW)
- fill buffers & variables on all paths (SHELL_FindExecutable)
- handle error condition (unix_fs)
- don't shoot in the blind for AW APIs (tests/shelllink.c)
dlls/shell32/pidl.c
dlls/shell32/shfldr_unixfs.c
dlls/shell32/shlexec.c
dlls/shell32/tests/shelllink.c
dlls/shlwapi/path.c