Gimp/app/paint
Alx Sa 19bb4a5251 paint: Prevent crash on out-of-bounds smudge tool
The Smudge Tool gets accumulated buffers from its
history via g_list_nth_data (). However, this function can
return NULL if we go out of bounds. We did not check for
this before trying to use it as a GeglBuffer, which caused
crashes if we ran out of accumulated buffers (e.g. if we
were partially smudging off-canvas).
This patch adds NULL checks to prevent the crashes.
2025-04-13 22:55:12 +00:00
..
gimp-paint.c
gimp-paint.h
gimpairbrush.c app: Fix extra drawing with airbrush tool on layers with offset 2023-07-24 15:55:30 +00:00
gimpairbrush.h
gimpairbrushoptions.c
gimpairbrushoptions.h
gimpbrushcore-kernels.h
gimpbrushcore-loops.cc
gimpbrushcore-loops.h
gimpbrushcore.c Issue #11675: Fade x Jitter dynamics now sync correctly at every step 2024-10-28 22:40:51 +00:00
gimpbrushcore.h app: make painting possibly multi-drawable aware. 2021-09-14 17:59:47 +02:00
gimpclone.c app: make painting possibly multi-drawable aware. 2021-09-14 17:59:47 +02:00
gimpclone.h
gimpcloneoptions.c
gimpcloneoptions.h
gimpconvolve.c app: fix broken symmetry on offset layers 2023-07-24 15:55:30 +00:00
gimpconvolve.h
gimpconvolveoptions.c
gimpconvolveoptions.h
gimpdodgeburn.c app: fix broken symmetry on offset layers 2023-07-24 15:55:30 +00:00
gimpdodgeburn.h
gimpdodgeburnoptions.c
gimpdodgeburnoptions.h
gimperaser.c app: get_paint_params() now uses GeglColor. 2024-02-11 23:28:03 +01:00
gimperaser.h
gimperaseroptions.c
gimperaseroptions.h
gimpheal.c app: make painting possibly multi-drawable aware. 2021-09-14 17:59:47 +02:00
gimpheal.h
gimpink-blob.c app: Layer expansion while using ink tool 2023-11-25 16:19:43 +00:00
gimpink-blob.h app: Layer expansion while using ink tool 2023-11-25 16:19:43 +00:00
gimpink.c app, libgimpconfig: color history is now space-invaded. 2024-02-11 23:28:03 +01:00
gimpink.h app: Layer expansion while using ink tool 2023-11-25 16:19:43 +00:00
gimpinkoptions.c
gimpinkoptions.h
gimpinkundo.c
gimpinkundo.h
gimpmybrushcore.c app: no more GimpRGB/GimpHSL/GimpHSV usage in paint code at all anymore. 2024-02-11 23:28:03 +01:00
gimpmybrushcore.h
gimpmybrushoptions.c
gimpmybrushoptions.h
gimpmybrushsurface.c app: no more GimpRGB/GimpHSL/GimpHSV usage in paint code at all anymore. 2024-02-11 23:28:03 +01:00
gimpmybrushsurface.h app: Layer expansion with MyPaintBrush now works. 2023-11-25 16:19:43 +00:00
gimppaintbrush.c app: get_paint_params() now uses GeglColor. 2024-02-11 23:28:03 +01:00
gimppaintbrush.h app: get_paint_params() now uses GeglColor. 2024-02-11 23:28:03 +01:00
gimppaintcore-loops.cc
gimppaintcore-loops.h
gimppaintcore-stroke.c app, libgimp, pdb: add g_return*_if_fail() test for array size args. 2024-10-25 23:31:06 +02:00
gimppaintcore-stroke.h app, libgimp, pdb: add g_return*_if_fail() test for array size args. 2024-10-25 23:31:06 +02:00
gimppaintcore.c paint: Prevent crash on expanding with pattern fill 2025-04-02 13:57:24 +00:00
gimppaintcore.h app: Blink lock when layer expansion is prevented by lock 2023-11-25 16:19:43 +00:00
gimppaintcoreundo.c app: big porting of weak pointers to g_set,clear_weak_pointer() 2023-05-22 18:16:09 +02:00
gimppaintcoreundo.h
gimppaintoptions.c Issue #8900 and #9923: reimplementing GimpUnit as a proper class. 2024-08-02 10:46:38 +02:00
gimppaintoptions.h Issue #8900 and #9923: reimplementing GimpUnit as a proper class. 2024-08-02 10:46:38 +02:00
gimppencil.c
gimppencil.h
gimppenciloptions.c
gimppenciloptions.h
gimpperspectiveclone.c app: rework and fix the logic for copy-pasting multiple drawables. 2022-11-12 18:28:58 +01:00
gimpperspectiveclone.h app: make Perspective Clone tool also work with multiple drawables. 2021-09-14 17:59:47 +02:00
gimpperspectivecloneoptions.c
gimpperspectivecloneoptions.h
gimpsmudge.c paint: Prevent crash on out-of-bounds smudge tool 2025-04-13 22:55:12 +00:00
gimpsmudge.h
gimpsmudgeoptions.c
gimpsmudgeoptions.h
gimpsourcecore.c app: Fix layer expansion while painting with symmetry enabled 2023-11-25 16:19:43 +00:00
gimpsourcecore.h Issue #287: Impossible to stroke a path with the clone tool. 2022-02-04 23:25:38 +01:00
gimpsourceoptions.c app: rework and fix the logic for copy-pasting multiple drawables. 2022-11-12 18:28:58 +01:00
gimpsourceoptions.h Issue #287: Impossible to stroke a path with the clone tool. 2022-02-04 23:25:38 +01:00
meson.build meson: fix warnings of deprecated features. 2022-08-31 01:29:37 +02:00
paint-enums.c app, libgimp*: commit the newly generated *enums.c files. 2022-08-01 20:00:01 +02:00
paint-enums.h app: Blink lock when layer expansion is prevented by lock 2023-11-25 16:19:43 +00:00
paint-types.h