diff options
Diffstat (limited to 'meta/recipes-graphics/harfbuzz/harfbuzz/0001-Fix-conditional.patch')
| -rw-r--r-- | meta/recipes-graphics/harfbuzz/harfbuzz/0001-Fix-conditional.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-graphics/harfbuzz/harfbuzz/0001-Fix-conditional.patch b/meta/recipes-graphics/harfbuzz/harfbuzz/0001-Fix-conditional.patch new file mode 100644 index 0000000000..0f9b86973b --- /dev/null +++ b/meta/recipes-graphics/harfbuzz/harfbuzz/0001-Fix-conditional.patch | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | From e421613e8f825508afa9a0b54d33085557c37441 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Behdad Esfahbod <behdad@behdad.org> | ||
| 3 | Date: Wed, 1 Jun 2022 09:07:57 -0600 | ||
| 4 | Subject: [PATCH] [sbix] Fix conditional | ||
| 5 | |||
| 6 | Signed-off: Pavel Zhukov <pavel.zhukov@huawei.com> | ||
| 7 | Upstream-Status: Backport [e421613e8f825508afa9a0b54d33085557c37441] | ||
| 8 | |||
| 9 | --- | ||
| 10 | src/hb-ot-color-sbix-table.hh | 2 +- | ||
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 12 | |||
| 13 | diff --git a/src/hb-ot-color-sbix-table.hh b/src/hb-ot-color-sbix-table.hh | ||
| 14 | index 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; | ||
