Ensure that nul test is passed after last commit and failed before

This commit is contained in:
Jeremy Soller
2020-12-23 08:25:44 -07:00
parent 94a6da9116
commit 5efaffe0f9
+1 -1
View File
@@ -61,7 +61,7 @@ int main(void) {
memset(pathbuf, 97, 100);
int ret = sscanf(
"https://redox-os.org", "%15[^\n/:]:%3[/]%[^\n/?#]%[^\n]",
"https://redox-os.org\0# extra garbage for nul test", "%15[^\n/:]:%3[/]%[^\n/?#]%[^\n]",
&protobuf, &slashbuf, &hostbuf, &pathbuf
);
if (ret < 4) {