[winpr,clipboard] fix text/uri-list parsing

abort if an empty string remains
This commit is contained in:
Armin Novak 2023-02-27 15:28:27 +01:00 committed by akallabeth
parent 60998a62b4
commit 9fb4465722

View File

@ -543,7 +543,11 @@ static BOOL process_uri_list(wClipboard* clipboard, const char* data, size_t len
}
if (stop == lim)
{
if (strnlen(start, stop - start) < 1)
return TRUE;
cur = lim;
}
if (comment)
continue;