[winpr,clipboard] fix text/uri-list parsing
abort if an empty string remains
This commit is contained in:
parent
60998a62b4
commit
9fb4465722
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user