app: in gimpbrushcore-loops, fix memory corruption in clear_edges()
s/width/height/ Fixes commit9d19e804ed
. (cherry picked from commit72d4977574
)
This commit is contained in:
@ -55,8 +55,8 @@ clear_edges (GimpTempBuf *buf,
|
||||
guchar *data;
|
||||
const Babl *format = gimp_temp_buf_get_format (buf);
|
||||
gint bpp = babl_format_get_bytes_per_pixel (format);
|
||||
gint width = gimp_temp_buf_get_width (buf);
|
||||
gint height = gimp_temp_buf_get_width (buf);
|
||||
gint width = gimp_temp_buf_get_width (buf);
|
||||
gint height = gimp_temp_buf_get_height (buf);
|
||||
|
||||
if (top + bottom >= height || left + right >= width)
|
||||
{
|
||||
|
Reference in New Issue
Block a user