mirror of https://github.com/GNOME/gimp.git
app: in gimpbrushcore-loops, fix memory corruption in clear_edges()
s/width/height/
Fixes commit 9d19e804ed
.
This commit is contained in:
parent
c7d5438b49
commit
72d4977574
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue