commit - d0fed6eb088ab7f0eec876aea0bb98327c77c2bb
commit + a1ef2acc86f58b0fd44ffd8ed6c5176fb500d45e
blob - cbe3b1a27bf7215a53556ed0731893c1eb676b05
blob + 4df2b701611fb6d0755a3f8efa7b3a37c27bf277
--- regress/iri_test.c
+++ regress/iri_test.c
FAIL,
empty,
"reject invalid sequence (overlong NUL)");
+
+ /* hangs in previous versions found by afl */
+ TEST("http://omarpolo3com/f.././",
+ PASS,
+ IRI("http", "omarpolo3com", "", "f../", "", ""),
+ "does not get confused by paths that contains '..'.");
+ TEST("lttp://oOarpols*czm/~../.R",
+ PASS,
+ IRI("lttp", "ooarpols*czm", "", "~../.R", "", ""),
+ "does not get confused by paths that contains '..'.");
return 0;
}