Hi Tim,
On 7/1/21 7:40 PM, Tim Clem wrote:
@@ -152,7 +152,10 @@ static inline WCHAR *heap_strndupAtoW(const char *str, int len_a, DWORD *len_w)
if(str) { size_t len;
if(len_a < 0) len_a = strlen(str);
if(len_a < 0)
len_a = strlen(str);
else if(len_a > 0)
len_a = strnlen(str, len_a);
The problem seems specific to InternetCrackUrlA, I'm not sure if we should change general helper.
Thanks,
Jacek