Commit Graph

84 Commits

Author SHA1 Message Date
Christoph von Wittich f26874c523 shlwapi: Avoid buffer overflow in PathCombineA. 2014-06-27 11:02:39 +02:00
Bruno Jesus 9dacce1b4e shlwapi: Avoid reading past the pointer in PathCreateFromUrlW (valgrind). 2014-06-11 16:11:28 +02:00
Victor Martinez Calvo c2ff8f4005 shlwapi: Check correct attributes in PathRelativePath. 2014-05-05 12:17:50 +02:00
Nikolay Sivov 14dab8ab4b shlwapi: Always close find handle (Coverity). 2014-04-10 09:12:10 +02:00
Nikolay Sivov 7513b58329 shlwapi: Implement PathUnExpandEnvStrings. 2013-11-04 11:48:06 +01:00
Francois Gouget 58c77f6156 shlwapi: Implement PathCreateFromUrlAlloc(). 2012-10-01 12:07:31 +02:00
Francois Gouget fad0bea304 shlwapi: Fix the PathCreateFromUrlW() implementation. 2012-09-26 10:59:53 +02:00
Francois Gouget 06439b303a shlwapi: PathCreateFromUrlA() should not crash when given NULL buffers.
Add NULL and insufficient buffer tests for PathCreateFromUrl().
2012-09-25 18:11:18 +02:00
Michael Stefaniuc 8d24dd49ee shlwapi: Avoid FALSE:TRUE conditional expressions. 2012-08-13 17:30:13 +02:00
Carlo Bramini f9c9ea6343 shlwapi: Don't remove nonexistent extension in PathRemoveExtension. 2012-04-13 16:29:25 +02:00
Frédéric Delanoy ce3dd89b54 shlwapi: Avoid harcoding array lengths. 2011-11-21 11:05:08 +01:00
Francois Gouget bdb65df982 shlwapi: Add parentheses to clarify the precedence between '&' and '&&'. 2011-09-12 11:01:10 +02:00
Francois Gouget c992ca277d Assorted spelling fixes. 2011-08-24 19:07:46 +02:00
Francois Gouget a3973e0c47 shlwapi: Remove WINAPI on static functions where not needed. 2008-11-25 11:49:54 +01:00
Juan Lang 87c3df1578 shlwapi: Use CharNextA to iterate through characters in PathAddBackslashA. Fixes problems with MBCS paths. 2008-07-28 11:32:08 +02:00
Austin English aab8fae59a Spelling fixes. 2008-04-21 14:25:05 +02:00
Marcus Meissner 088a33729a shlwapi: Handle buffer overflow on A->W converter. 2008-03-03 11:59:11 +01:00
Alexandre Julliard ae0c24fd06 shlwapi: Get rid of CharNextW/CharPrevW. Simplify some string functions. 2007-06-25 14:01:28 +02:00
Mikołaj Zalewski 7370a93b52 shlwapi: Fix the handling of overflows in PathCombine[AW]. 2007-04-24 10:19:44 +02:00
Dmitry Timoshkov 03e9e5b60d shlwapi: Match shlwapi wrappers to MSDN descriptions. 2007-03-29 21:00:11 +02:00
Paul Vriens 20291e082c shlwapi/path: Proper use of GetProcessHeap(). 2007-03-26 12:20:53 +02:00
Mike McCormack da3d6815da shlwapi: Use HeapAlloc/Free instead of malloc/free. 2006-11-10 11:35:18 +01:00
Hans Leidekker e119a04a26 shlwapi: Win64 printf format warning fixes. 2006-10-06 17:26:49 +02:00
Francois Gouget 38520a819c Assorted spelling fixes. 2006-10-03 15:56:21 +02:00
James Hawkins 7412bddd36 shlwapi: Add tests for PathCombineA. 2006-06-27 11:14:43 +02:00
Paul Vriens a796b8a3f7 shlwapi: PathCombineW should return NULL on invalid parameters. 2006-06-26 12:56:47 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Peter Oberndorfer ac0bee4bf2 shlwapi: Ignore leading spaces in PathMatchSpec. 2006-04-12 11:17:12 +02:00
Francois Gouget 6bddeb1cf7 Assorted spelling fixes. 2006-03-21 20:10:39 +01:00
Eric Pouech 1be2e1edef 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)
2006-02-22 12:04:02 +01:00
Stefan Huehner 863a4b1488 Fix some more -Wstrict-prototypes warnings. 2005-06-21 20:53:13 +00:00
Peter Berg Larsen 6aefbc0934 Strncpy elimination. 2005-04-18 15:36:20 +00:00
Peter Berg Larsen e732fc023d Janitorial: Get rid of strncpy/strncpyW. 2005-03-28 14:17:51 +00:00
Jon Griffiths db66ec0e55 Tests and small fix for PathMakePretty().
Fix a crash and test failure with early native dlls.
2005-03-14 10:09:53 +00:00
Hans Leidekker 80829db067 Implement and test PathIsValidChar{A,W}. 2005-02-03 13:34:05 +00:00
Hans Leidekker a4b80ec97e Stub implementations for PathUnExpandEnvStringsSHRegEnumUSValue{A,W},
SHRegCreateUSKey{A,W}, SHRegDeleteEmptyUSKey{A,W},
SHRegDeleteUSValue{A,W}, SHRegEnumUSValue{A,W}.
2005-01-18 11:39:05 +00:00
Huw Davies 1685e8c65e Rewrite PathCreateFromUrl. 2004-10-05 18:07:14 +00:00
Huw Davies 91704df4f3 Implement PathSearchAndQualify. 2004-09-25 00:29:47 +00:00
Diego Pettenò a33ff00133 Add support for file:/// urls in PathCreateFromUrl. 2004-09-10 21:12:11 +00:00
Mike McCormack de8a6cb32d Don't read past end of table in PathFileExistsDefExtW. 2004-09-03 01:02:18 +00:00
Mike McCormack 67cfcfb919 Use the ACP define in MB/WC conversion functions. 2004-09-02 22:57:04 +00:00
James Hawkins fc403eb5e0 Fix buffer overflow in PathSetDlgItemPathW that led to a trashed
stack.
2004-09-02 20:08:57 +00:00
Francois Gouget ebf0eb3138 Make static Unicode strings const. 2004-04-20 00:34:52 +00:00
Ge van Geldorp 100e11309b Fix various function prototypes to conform to PSDK. 2004-01-23 20:57:26 +00:00
Rolf Kalbermatter ed32535931 Implemented PathFileExistsAndAttributesA/W function. 2004-01-19 21:46:14 +00:00
Francois Gouget 640cc3f3e1 Assorted spelling fixes. 2004-01-06 22:08:33 +00:00
Mike McCormack 7dc3ece222 Fixed a memory leak. 2003-09-22 19:46:32 +00:00
Robert Shearman b6f34d3c3f - Convert ordinals to their real names.
- Partially implement a few Assoc* functions.
2003-09-11 02:56:15 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Jon Griffiths 400ab3bbd4 Implemented @440, 441.
Warning fixes/documentation.
2003-07-19 03:12:36 +00:00