🐛 fixing CBOR's indefinity length strings #961

Beside the fix discussed in #961, we also had to re-adjust a test case. It seems that it was failing before, and I "fixed" it to work with the broken implementation...
This commit is contained in:
Niels Lohmann committed 2018-02-06 20:43:03 +01:00
1 parent 556e30f759
commit 8b457ace25
5 files changed
+21 -6

No files matched your search

@@ -948,8 +948,7 @@ class binary_reader
string_t result;
while (get() != 0xFF)
{
unexpect_eof();
result.push_back(static_cast<char>(current));
result.append(get_cbor_string());
}
return result;
}