Commit Diff
- Commit:
44af06e3097b9f4e3a40462daf1facd286f8bef5
- From:
- xentrac <xentrac@special-circumstanc.es>
- Date:
- Message:
- Fix erroneous assert that never worked This bug was only triggered when a PDF stream used AsciiHexDecode, which is very unusual, but it would then always be triggered if the stream contained two or more hex digits.
- Actions:
- Patch | Tree
--- pdf.c +++ pdf.c @@ -274,8 +274,8 @@ act_hdigitpair(const HParseResult *p, void *u) default: break; } - assert(digits_processed == 2); } + assert(digits_processed == 2); b = (digits[0] << 4) + digits[1]; return H_MAKE_UINT(b);