equal
deleted
inserted
replaced
1135 ? s/c.c |
1135 ? s/c.c |
1136 ? s/cpp.cpp |
1136 ? s/cpp.cpp |
1137 ? s/foobar.orig |
1137 ? s/foobar.orig |
1138 ? s/snake.python.orig |
1138 ? s/snake.python.orig |
1139 |
1139 |
|
1140 #if git19 |
|
1141 |
1140 test for Git CVE-2016-3068 |
1142 test for Git CVE-2016-3068 |
1141 $ hg init malicious-subrepository |
1143 $ hg init malicious-subrepository |
1142 $ cd malicious-subrepository |
1144 $ cd malicious-subrepository |
1143 $ echo "s = [git]ext::sh -c echo% pwned:% \$PWNED_MSG% >pwned.txt" > .hgsub |
1145 $ echo "s = [git]ext::sh -c echo% pwned:% \$PWNED_MSG% >pwned.txt" > .hgsub |
1144 $ git init s |
1146 $ git init s |
1176 cloning subrepo s from ext::sh -c echo% pwned:% $PWNED_MSG% >pwned.txt |
1178 cloning subrepo s from ext::sh -c echo% pwned:% $PWNED_MSG% >pwned.txt |
1177 abort: git clone error 128 in s (in subrepo s) |
1179 abort: git clone error 128 in s (in subrepo s) |
1178 [255] |
1180 [255] |
1179 $ f -Dq pwned.txt |
1181 $ f -Dq pwned.txt |
1180 pwned: you asked for it |
1182 pwned: you asked for it |
|
1183 |
|
1184 #endif |