diff options
author | Jay Berkenbilt <ejb@ql.org> | 2019-06-09 23:19:07 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2019-06-09 23:19:49 +0200 |
commit | 31bde2f9d7517d3cf2433c2ea787eb9542532496 (patch) | |
tree | e471fe49dc981b87a7f25462a324c74c3a086697 /libqpdf/Pl_Discard.cc | |
parent | 74cc3440df7606c1e48bdbcb0ac5051fe0df0149 (diff) | |
download | qpdf-31bde2f9d7517d3cf2433c2ea787eb9542532496.tar.zst |
Handle empty DecodeParams array for (fixes #331)
On read, ignore /DecodeParms when empty list; on write, delete it.
Some files have been found that include an empty list for
/DecodeParms, but this is not technically compliant with the spec, and
the only sensible interpretation is to treat it as if there are no
decode parameters.
Diffstat (limited to 'libqpdf/Pl_Discard.cc')
0 files changed, 0 insertions, 0 deletions