Fixed memory overrun bug in gdImageScaleTwoPass

#1 Declined
Repository
Branch
suetanvil
Repository
Branch
master
Author
  1. Chris Reuter
Reviewers
Description

_gdContributionsCalc would compute a window size and then adjust the left and right positions of the window to make a window within that size. However, it was storing the values in the struct before it made the adjustment. This change fixes that.

Comments (0)