Correctly handle three-digit octals with leading digit 4-7

This commit is contained in:
Jack Grigg
2017-04-21 13:22:51 +12:00
parent d15cab21bc
commit 8df5fd1116
2 changed files with 8 additions and 7 deletions

View File

@@ -147,7 +147,7 @@ BOOST_AUTO_TEST_CASE(util_ParseTorReplyMapping)
"Foo=\"Bar\\nBaz\\t\" Spam=\"\\rEggs\" Octals=\"\\1a\\11\\17\\18\\81\\377\\378\\400\" Final=Check", {
{"Foo", "Bar\nBaz\t"},
{"Spam", "\rEggs"},
{"Octals", "\1a\11\17\1" "881\377\37" "8400"},
{"Octals", "\1a\11\17\1" "881\377\37" "8\40" "0"},
{"Final", "Check"},
});
CheckParseTorReplyMapping(