From a11501444cfc4854bfe2b1d3ce0fc5a957e959d8 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 25 Feb 2017 13:37:54 -0800 Subject: [PATCH] Add few tests found by libFuzzer and oss-fuzz --- .../a34a9191d9376bda419836effeef7e75c1386016.ttf | Bin 0 -> 1010 bytes .../a69118c2c2ada48ff803d9149daa54c9ebdae30e.ttf | Bin 0 -> 820 bytes .../b6acef662e0beb8d5fcf5b61c6b0ca69537b7402.ttf | Bin 0 -> 3301 bytes .../e88c339237f52d21e01c55f01b9c1b4cc14a0467.ttf | Bin 0 -> 515 bytes test/shaping/tests/fuzzed.tests | 4 ++++ 5 files changed, 4 insertions(+) create mode 100644 test/shaping/fonts/sha1sum/a34a9191d9376bda419836effeef7e75c1386016.ttf create mode 100644 test/shaping/fonts/sha1sum/a69118c2c2ada48ff803d9149daa54c9ebdae30e.ttf create mode 100644 test/shaping/fonts/sha1sum/b6acef662e0beb8d5fcf5b61c6b0ca69537b7402.ttf create mode 100644 test/shaping/fonts/sha1sum/e88c339237f52d21e01c55f01b9c1b4cc14a0467.ttf diff --git a/test/shaping/fonts/sha1sum/a34a9191d9376bda419836effeef7e75c1386016.ttf b/test/shaping/fonts/sha1sum/a34a9191d9376bda419836effeef7e75c1386016.ttf new file mode 100644 index 0000000000000000000000000000000000000000..a358833c2fdcac4574cfcda9e1ea2b663b403573 GIT binary patch literal 1010 zcmb_aO=}ZT6g_VyGntvx5Q>yof<(zGC=`U^LPSGMTm&q%e&EVyCT)V5WSET5W$-`f zs`>-E>QdKkTu5;xQo4}3>7omfBD#?A+?iC}xa$k=<(+%a+jpZs$94#qTg2Bk^dw9Y zMuz!`*x8T-Z=(a^&p_@&zo-4Yf8`5ZJM=I2X(;Te`^1ODwSEw9Uf50yz?~z$G#qzz z{=Cy5zDisU^k&G~JH#u*)sYT*xk}*&F>Ao>a6E~VI$jXJ7C(L_Ng|PC8B!N=P_Xzj zVZ-B{Qn@`;z3Wgq(vRVg!$lpegI=TiG@76o=;#T`v`7?M)6*o^!xA3g8SM`3H@J)R zF3?|LCBn4fLaFDt%<~vNnZzkun7}Y)3$sP5X&k7XlwOs#RP_gtu)LSX{q>tHmd7MQZCG@$s@gCOHMLyLc9s0`6iIbvDEYh5{Qd}PI z^AsS-6@yFbM4rgVTE-?fPH`F}&EIJVqu%;#8gM$(Afn`r9d=13Fzc$kV2N0IXU$$; uCenqmPg9lKcn8RI!&=UrDZQeFU(e>(Cs^aCbGHAx;@$mkA35!Q75EM8ah@;$ literal 0 HcmV?d00001 diff --git a/test/shaping/fonts/sha1sum/a69118c2c2ada48ff803d9149daa54c9ebdae30e.ttf b/test/shaping/fonts/sha1sum/a69118c2c2ada48ff803d9149daa54c9ebdae30e.ttf new file mode 100644 index 0000000000000000000000000000000000000000..3cd5b5671378c7bb7bec767bbcddb53c89acfbd0 GIT binary patch literal 820 zcmZXS&r1|x7{|Z!&g>8Ohf0kevTTGUh!UfqI!MH#EkU5MYSh7JRcQ^5rrWsr6`{{Dhn-d#$C|8a|L;ljD`z zoP#t^P-|SGp0iX(*0@JrCtFp=E2^C&^HW>o(R!`f@*jhC-4uIJMv5m9?e7398pL@P z;k2rV!w|FY2j1F3u^~F~muUpu(Wp@{SExvBjJ#ULJB!wT@08o6kKuO-MqpOZjBf2I zB0%I)ej;O^HDIMCOXDuC!}9&8d1PwOW1hBc zL-X6dgrG>yI;ZqmB8`zG;|%wZc@5d%px)|beZkuP9{BNfXa!CNYml|oD;{LIM@hx} zMs9Vrwpv!J67Tp>-;k>Y4!^0@mmSYLiNcGiYlWWCeVmrY0iX6iE_U{V&0lZQjjm~O zXcPk@#JrF*!=Fi*dMi5gh9Z|*xd$bKVP{=`xK*;a~<2U?I;_6-{JO<5-Z&MEpnc@BA;n0i4--uK)l5 literal 0 HcmV?d00001 diff --git a/test/shaping/fonts/sha1sum/b6acef662e0beb8d5fcf5b61c6b0ca69537b7402.ttf b/test/shaping/fonts/sha1sum/b6acef662e0beb8d5fcf5b61c6b0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?a`?(Y1VyvSPW^q@acw30e zm(%lk)Qf>ItPl?&AY`;cc+pIW(5N%4I4A&+w9;jkNo?(pfuMP;epOp;J>}5bi8CXFg+KIoRND;6IF8*cRsX}CW5`^K- zXnqpRj$$76aD?uep&EbSALA^k@qxYAv%VZMI`%Z~g(cYc!3ww2Qw{~*>M|c}^7?Rg z=z7WP^ZUSC?RA$!W79$ZI@p8*G-7CnbdLjQ(;UNvUwY=yT!7FuL%SI(_^3r|AxADG zLq60%5nQ0oQLYfz=zOd%+=WO4Ob#L~M9~$2Velc~8{{{Ord^_6A!z@5-j0%j5PuBR zBc3x;ZT8$NQzXLLnYbJJd6Fc@&xaBHM6?sf!XRcRK~VZqZ5gRFEG;#HLREt-q9OkC zpmZ4ob{MW&B(EMDC0-n4V`G5n#`3(2H+>3s+!Kyd*Z`hz{Qt}G5qwA9*HG?{BIBP? G#(x4|GIgQ= literal 0 HcmV?d00001 diff --git a/test/shaping/fonts/sha1sum/e88c339237f52d21e01c55f01b9c1b4cc14a0467.ttf b/test/shaping/fonts/sha1sum/e88c339237f52d21e01c55f01b9c1b4cc14a0467.ttf new file mode 100644 index 0000000000000000000000000000000000000000..e9884ea8556ccad1a61a3e84279be5cfd9249a28 GIT binary patch literal 515 zcmaiwy-ve06orptlRr>Zbqa`~pbRJyBMeLk6(X^KRIxB&0#zeg7lp91vG+mPS$F~- zg#odna_khTLlKUAuYH|+{2fC8XyFMGS9$OF1e;iA<%4rOKR@fAKEH7(+6X$qnk}jrLFyVCgVJcEr73G<=(2HQO4k>ljSM{uF~tkssTA?@a6S*1i2{)Y%nK*c7uD#n!;nCvme>wK zG9g~QZ?}(;;u1nv`kIoz{%p3QbW!NhGUR>!A^H7>Jaouv5e$daCX4qMvgB#lwX}`R om?R0dxbu(+g*A7pHS5oHo0qpvJ6L5O9g=O?pkm;=gGtTw11I%1hyVZp literal 0 HcmV?d00001 diff --git a/test/shaping/tests/fuzzed.tests b/test/shaping/tests/fuzzed.tests index d9bace32..1f51e441 100644 --- a/test/shaping/tests/fuzzed.tests +++ b/test/shaping/tests/fuzzed.tests @@ -11,3 +11,7 @@ fonts/sha1sum/fab39d60d758cb586db5a504f218442cd1395725.ttf:--font-funcs=ot:U+004 fonts/sha1sum/205edd09bd3d141cc9580f650109556cc28b22cb.ttf:--font-funcs=ot:U+0041:[gid0=0+1000] fonts/sha1sum/217a934cfe15c548b572c203dceb2befdf026462.ttf:--font-funcs=ot:U+0061,U+0061,U+0061:[] fonts/sha1sum/558661aa659912f4d30ecd27bd09835171a8e2b0.ttf:--font-funcs=ot:U+FFFD,U+E0100,U+FFFD,U+E0010:[] +fonts/sha1sum/a34a9191d9376bda419836effeef7e75c1386016.ttf:--font-funcs=ot:U+0041:[] +fonts/sha1sum/a69118c2c2ada48ff803d9149daa54c9ebdae30e.ttf:--font-funcs=ot:U+0041:[gid0=0+1229] +fonts/sha1sum/b6acef662e0beb8d5fcf5b61c6b0ca69537b7402.ttf:--font-funcs=ot:U+0041:[gid0=0+1000] +fonts/sha1sum/e88c339237f52d21e01c55f01b9c1b4cc14a0467.ttf:--font-funcs=ot:U+0041:[gid0=0+1000] -- GitLab