Fixes to Coverity defects 83027 73421 72714 72671 72646 72642
This commit is contained in:
@ -177,7 +177,7 @@ HTTPD_session *client_data = NULL;
|
||||
j++;
|
||||
}
|
||||
|
||||
while (!ISspace(buf[j]) && (i < sizeof(url) - 1) && (j < sizeof(buf) - 1)) {
|
||||
while ((j < sizeof(buf) - 1) && !ISspace(buf[j]) && (i < sizeof(url) - 1)) {
|
||||
url[i] = buf[j];
|
||||
i++; j++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user