|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-01-08 08:44 UTC] laruence@php.net
-Assigned To:
+Assigned To: pajoye
[2015-07-12 12:56 UTC] cmb@php.net
[2016-07-23 17:15 UTC] cmb@php.net
-Summary: identical code
+Summary: superfluous if-else statements
[2016-07-23 17:32 UTC] cmb@php.net
-Summary: superfluous if-else statements
+Summary: suspicious if-else statements
-Status: Assigned
+Status: Verified
-Assigned To: pajoye
+Assigned To: cmb
[2016-07-23 17:32 UTC] cmb@php.net
[2016-07-23 17:51 UTC] cmb@php.net
[2016-07-23 17:51 UTC] cmb@php.net
-Status: Verified
+Status: Closed
[2016-10-17 10:10 UTC] bwoebi@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 06:00:02 2025 UTC |
Description: ------------ Hi, in /ext/gd/libgd/gd_interpolation.c: 1539 if (m >= src_h - 2) { 1540 src_offset_x[13] = n; 1541 src_offset_y[13] = m; 1542 } else { 1543 src_offset_x[13] = n; 1544 src_offset_y[13] = m; 1545 } and 1946 if (m < 1) { 1947 src_offset_x[1] = n; 1948 src_offset_y[1] = m; 1949 } else { 1950 src_offset_x[1] = n; 1951 src_offset_y[1] = m ; 1952 } In each, each possiblity is the same. Is this intended?