FS-11931: [mod_http_cache] Fix zero-length gnu_printf format string
This commit is contained in:
parent
0e43313f79
commit
bc5dad27fb
|
@ -101,7 +101,7 @@ FST_TEST_BEGIN(test_parse_url)
|
||||||
fst_check(bucket == NULL);
|
fst_check(bucket == NULL);
|
||||||
fst_check(object == NULL);
|
fst_check(object == NULL);
|
||||||
|
|
||||||
snprintf(url, sizeof(url), "");
|
snprintf(url, sizeof(url), "%s", "");
|
||||||
parse_url(url, NULL, "s3", &bucket, &object);
|
parse_url(url, NULL, "s3", &bucket, &object);
|
||||||
fst_check(bucket == NULL);
|
fst_check(bucket == NULL);
|
||||||
fst_check(object == NULL);
|
fst_check(object == NULL);
|
||||||
|
|
Loading…
Reference in New Issue