mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Don't try to compare more than strlen chars
This commit is contained in:
parent
fecb67b246
commit
bad6410d08
@ -665,7 +665,7 @@ static int validate_access(struct testcase *test,
|
||||
|
||||
logmsg("trying to get file: %s mode %x", filename, mode);
|
||||
|
||||
if(!strncmp("verifiedserver", filename, 15)) {
|
||||
if(!strncmp("verifiedserver", filename, 14)) {
|
||||
char weare[128];
|
||||
size_t count = sprintf(weare, "WE ROOLZ: %ld\r\n", (long)getpid());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user