From 388f254f9ca531785743b313ab05e52a5b72e5e3 Mon Sep 17 00:00:00 2001 From: Kevin Backhouse Date: Tue, 3 Aug 2021 23:15:15 +0100 Subject: [PATCH] Regression test for https://github.com/Exiv2/exiv2/issues/1838 --- test/data/issue_1838_poc.crw | Bin 0 -> 10078 bytes tests/bugfixes/github/test_issue_1838.py | 17 +++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 test/data/issue_1838_poc.crw create mode 100644 tests/bugfixes/github/test_issue_1838.py diff --git a/test/data/issue_1838_poc.crw b/test/data/issue_1838_poc.crw new file mode 100644 index 0000000000000000000000000000000000000000..efd88f3b9a67ca421d9b28fc306a2f6420f2c374 GIT binary patch literal 10078 zcmeHs2UJvB((Y-RCNw!T83ZIYpyZ4M$vH1rXxl5#YfH3GfNvgoH#SG-M>i#3W2q2yz-W=JV`qO!((Gct!a+xP`b` z&I!l~2#HHbOG~pO<&`f?md5!c^3 zPul?s0^lZ)4~4J+I1~^l1?037QV0ML803upZZQN0iVMTT-zS6@53WMR| zf+KIg$AJR46fjCQAw@hY13P?nA8O(7gYN=Z#i z&&Yg`m0kF_sJNuGth}PGzM-+H`Dx3uj@O-C-95c;`bOVj#>OWmr=~xA{Is~Vyt2Bs zzP{jZOsJYRB~Fy^Q?l-I}Ir3g=`y$`bG|4Pq?U* z#mE9UR?gs8jT1^?k)5s}JBc5D}JH6D0n9tzZb!21< z^(NaURGYR|@+WdPH9CriDb-?dV=O&$ut)u4|KC?LNL4EKk4nbbrkM%e=Dnv{rVy?RQig`N8(>3W-r8RzUOLvc8o?hFZbI*83gR;~4C7EQN`bm^P0 z4UT7fQdeIvgw2|JOPgIiM`Mt8r0O2gt?^XFZEVwb!G1y{*rrFWhTK7{m$AzrEWKaH zn%U@vb2-QN^^-&64qG*YLlen*NQd3}%XCRi`KfZ(c-i-Mhogsi@6mif(4(tE*;hYn zwhKLazgt3kKy8jk4=|g3t7w<|*&&HJv{=0Vu{jcvwTry)T}>SSxHI_4^< z!y~l)4N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