1From e421613e8f825508afa9a0b54d33085557c37441 Mon Sep 17 00:00:00 2001 2From: Behdad Esfahbod <behdad@behdad.org> 3Date: Wed, 1 Jun 2022 09:07:57 -0600 4Subject: [PATCH] [sbix] Fix conditional 5 6Signed-off: Pavel Zhukov <pavel.zhukov@huawei.com> 7Upstream-Status: Backport [e421613e8f825508afa9a0b54d33085557c37441] 8 9--- 10 src/hb-ot-color-sbix-table.hh | 2 +- 11 1 file changed, 1 insertion(+), 1 deletion(-) 12 13diff --git a/src/hb-ot-color-sbix-table.hh b/src/hb-ot-color-sbix-table.hh 14index 6efae43cda..d0e2235fb2 100644 15--- a/src/hb-ot-color-sbix-table.hh 16+++ b/src/hb-ot-color-sbix-table.hh 17@@ -298,7 +298,7 @@ struct sbix 18 19 const PNGHeader &png = *blob->as<PNGHeader>(); 20 21- if (png.IHDR.height >= 65536 | png.IHDR.width >= 65536) 22+ if (png.IHDR.height >= 65536 || png.IHDR.width >= 65536) 23 { 24 hb_blob_destroy (blob); 25 return false; 26