From 04486cfcf88187cc480017f71d4107187b986e81 Mon Sep 17 00:00:00 2001 From: Chris Lilley Date: Tue, 5 Mar 2024 13:14:40 -0500 Subject: [PATCH] add test for invalid ancillary after IDAT --- .../invalid-unknown-ancillary-after-IDAT.png | Bin 0 -> 261 bytes ...nknown-ancillary-error-recovery-2-ref.html | 17 ++++++++++++++ .../unknown-ancillary-error-recovery-2.html | 21 ++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 png/errors/support/invalid-unknown-ancillary-after-IDAT.png create mode 100644 png/errors/unknown-ancillary-error-recovery-2-ref.html create mode 100644 png/errors/unknown-ancillary-error-recovery-2.html diff --git a/png/errors/support/invalid-unknown-ancillary-after-IDAT.png b/png/errors/support/invalid-unknown-ancillary-after-IDAT.png new file mode 100644 index 0000000000000000000000000000000000000000..e9c9e7ee02598ab11189049b455b39ce8b72db57 GIT binary patch literal 261 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnF3?v&v(vJfvmUKs7M+U~W1%@xC#RK{30X`wF zK>9yJIm7?|5Q?Gve>sQ=@c~`((DDoKssp(SYB#=ecymI zN2m4LGs?0|-jX4ocjrd&+C}*+tDEYX(_&d2qpt}(;a1^}3ACqyPW_ literal 0 HcmV?d00001 diff --git a/png/errors/unknown-ancillary-error-recovery-2-ref.html b/png/errors/unknown-ancillary-error-recovery-2-ref.html new file mode 100644 index 00000000000000..cfa2cbb6f14cc9 --- /dev/null +++ b/png/errors/unknown-ancillary-error-recovery-2-ref.html @@ -0,0 +1,17 @@ + + + +PNG Third Edition: Decoder error recovery, invalid ancillary + + + +

Test passes if you see a rainbow square, and not a red one.

+
+ + \ No newline at end of file diff --git a/png/errors/unknown-ancillary-error-recovery-2.html b/png/errors/unknown-ancillary-error-recovery-2.html new file mode 100644 index 00000000000000..23191fe39f7148 --- /dev/null +++ b/png/errors/unknown-ancillary-error-recovery-2.html @@ -0,0 +1,21 @@ + + + +PNG Third Edition: Decoder error recovery, invalid ancillary after IDAT + + + + + + + +

Test passes if you see a rainbow square, and not a red one.

+
+ + \ No newline at end of file