After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 317340 - 'convolve'ing near layer bounds == crash.
'convolve'ing near layer bounds == crash.
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Tools
git master
Other All
: Normal major
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-09-27 14:03 UTC by david gowers
Modified: 2005-10-29 00:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description david gowers 2005-09-27 14:03:28 UTC
steps to reproduce:

* new image
* select a largish (easily visible) brush
* choose convolve tool, set to blur.
* try to paint across the edge of the image -> crash.

The most intuitive behaviour would be to treat all pixels past the image border
as being the same color as the last pixel inside the image border (like what
several plugins call 'smear' mode)
Comment 1 Sven Neumann 2005-09-27 15:33:20 UTC
Crashes in color_region(), called from convolve_paint().
Comment 2 Michael Natterer 2005-10-29 00:58:29 UTC
Fixed in CVS:

2005-10-29  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimpconvolve.c (gimp_convolve_motion): allocate both
	oversize buffers with the right size, instead of one twice with
	the wrong size. Was broken since porting to pixel_region_init_data().
	Spotted by Seth Burgess. Fixes bug #317340.