summaryrefslogtreecommitdiff
path: root/user/libgd/CVE-2019-6977.patch
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2020-04-05 12:51:59 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-04-05 12:51:59 +0000
commit343e40efb539159bff58339cae63279e2a7cf9c2 (patch)
tree114140210c76d51c9946300ec02fa676aebf6ad5 /user/libgd/CVE-2019-6977.patch
parent0b10cc74d61cd3b81c5f3b54d44bc6c3e1723a03 (diff)
parentaf409aaaaf71ee25115f59e64bf8ea566d278176 (diff)
downloadpackages-343e40efb539159bff58339cae63279e2a7cf9c2.tar.gz
packages-343e40efb539159bff58339cae63279e2a7cf9c2.tar.bz2
packages-343e40efb539159bff58339cae63279e2a7cf9c2.tar.xz
packages-343e40efb539159bff58339cae63279e2a7cf9c2.zip
Merge branch 'bump/php744' into 'master'
Bump PHP to 7.4.4 See merge request adelie/packages!423
Diffstat (limited to 'user/libgd/CVE-2019-6977.patch')
-rw-r--r--user/libgd/CVE-2019-6977.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/user/libgd/CVE-2019-6977.patch b/user/libgd/CVE-2019-6977.patch
deleted file mode 100644
index 4cfb9ab98..000000000
--- a/user/libgd/CVE-2019-6977.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Bug: https://bts.adelielinux.org/show_bug.cgi?id=159
-Backported-From: http://git.php.net/?p=php-src.git;a=commit;h=7a12dad4dd6c370835b13afae214b240082c7538
-Author: A. Wilcox <awilfox@adelielinux.org>
-Bug: https://bugs.php.net/bug.php?id=77270
-Author: Christoph M. Becker <cmbecker69@gmx.de>
-Committer: Stanislav Malyshev <stas@php.net>
-Upstream-Status: unknown
-
---- libgd-2.2.5/src/gd_color_match.c.old 2017-08-30 11:05:54.000000000 +0000
-+++ libgd-2.2.5/src/gd_color_match.c 2019-10-03 16:17:55.842322245 +0000
-@@ -31,8 +31,8 @@
- return -4; /* At least 1 color must be allocated */
- }
-
-- buf = (unsigned long *)gdMalloc(sizeof(unsigned long) * 5 * im2->colorsTotal);
-- memset (buf, 0, sizeof(unsigned long) * 5 * im2->colorsTotal );
-+ buf = (unsigned long *)gdMalloc(sizeof(unsigned long) * 5 * gdMaxColors);
-+ memset( buf, 0, sizeof(unsigned long) * 5 * gdMaxColors );
-
- for (x=0; x < im1->sx; x++) {
- for( y=0; y<im1->sy; y++ ) {