Skip to content
  • Sven M. Hallberg's avatar
    a1014f81
    improve handling of parse errors in xref stream data · a1014f81
    Sven M. Hallberg authored
    Improve on the bugfix in commit a5abf1e2:
    
    - Reinstate the assert for 'res->ast != NULL'. If it fails, there is a bug
      in the parser, not an error in the input file.
    - Provide a distinct error message for the case where p_xref fails on a
      cross-reference stream because of invalid data.
    - Only skip storing the invalid section. Try to follow the /Prev entry in
      the stream dictionary to find more sections.
    a1014f81
    improve handling of parse errors in xref stream data
    Sven M. Hallberg authored
    Improve on the bugfix in commit a5abf1e2:
    
    - Reinstate the assert for 'res->ast != NULL'. If it fails, there is a bug
      in the parser, not an error in the input file.
    - Provide a distinct error message for the case where p_xref fails on a
      cross-reference stream because of invalid data.
    - Only skip storing the invalid section. Try to follow the /Prev entry in
      the stream dictionary to find more sections.
Loading