Skip to content
Snippets Groups Projects

Report incorrect /Filter type with decode failure

Merged xentrac requested to merge xentrac/pdf:fix-decode-assert-fail into master

Previously, when the instigator produced a PDF file with a stream with <</Filter 718>> in its stream dictionary, pdf was failing by aborting with an assert failure. An assert failure is not the right way to report that the program’s input is invalid. This change simply returns NULL from decode_stream in this case.

This fixes the crash on instigator-generated failure decode-assert-fail.

Edited by xentrac

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading