summaryrefslogtreecommitdiff
path: root/ext/gd/libgd/gd_matrix.c
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-01-06 09:35:13 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2020-01-06 09:35:13 +0100
commit2c5860517c4a1f7ebc81ef79858aa5aff5aad76c (patch)
tree47a546da523e752d082265d3a37bc0be0bb9ea66 /ext/gd/libgd/gd_matrix.c
parentc05a069adfcca56763d5db06afce8801382477a5 (diff)
downloadphp-git-2c5860517c4a1f7ebc81ef79858aa5aff5aad76c.tar.gz
Fix #79067: gdTransformAffineCopy() may use unitialized values
We port <https://github.com/libgd/libgd/commit/7a06c1669c563917bc48c464521e3de962ddb4e8>.
Diffstat (limited to 'ext/gd/libgd/gd_matrix.c')
-rw-r--r--ext/gd/libgd/gd_matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/libgd/gd_matrix.c b/ext/gd/libgd/gd_matrix.c
index 0a67f1dc26..d2dfbd2d16 100644
--- a/ext/gd/libgd/gd_matrix.c
+++ b/ext/gd/libgd/gd_matrix.c
@@ -55,7 +55,7 @@ int gdAffineApplyToPointF (gdPointFPtr dst, const gdPointFPtr src,
* <gdAffineIdentity>
*
* Returns:
- * GD_TRUE if the affine is rectilinear or GD_FALSE
+ * GD_TRUE on success or GD_FALSE on failure
*/
int gdAffineInvert (double dst[6], const double src[6])
{