From a5da35966cd75fd59fb8c070121cd5f460815e68 Mon Sep 17 00:00:00 2001 From: jvmboy Date: Mon, 27 Apr 2020 09:52:00 +0800 Subject: [PATCH] test --- freetype-seeks-to-index-at-the-end-of-the-fo.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freetype-seeks-to-index-at-the-end-of-the-fo.patch b/freetype-seeks-to-index-at-the-end-of-the-fo.patch index 99bd08c..e2e2056 100644 --- a/freetype-seeks-to-index-at-the-end-of-the-fo.patch +++ b/freetype-seeks-to-index-at-the-end-of-the-fo.patch @@ -20,7 +20,7 @@ index bca003d31..cc8432866 100644 if (numBytes == 0) { - if (offset >= scalerInfo->fileSize) { -+ if (offset > scalerInfo->fileSize) { ++ if (offset > scalerInfo->fileSize) { return -1; } else { return 0; -- Gitee