Fixed invalid memory access.
This commit is contained in:
@@ -643,7 +643,7 @@ int _unescapeUrlEncoded(const char *src, unsigned int srclen, char *buffer, unsi
|
||||
|
||||
size=0;
|
||||
|
||||
while (*src && srclen>0) {
|
||||
while (srclen>0 && *src) {
|
||||
unsigned char x;
|
||||
|
||||
x=(unsigned char)*src;
|
||||
|
||||
Reference in New Issue
Block a user