Ensure that nul test is passed after last commit and failed before
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user