Gimp/app
Jacob Boerema 2a31678e9c app: fix #6436 *.gih grayscale export crashes GIMP
When we try to export a grayscale image with layers with negative offsets
to a GIH brush GIMP crashes without producing any crashlog.
Running in GDB showed us that there is heap corruption caused by incorrect
computation of buffer sizes because of the negative offsets.

In file_gih_image_to_pipe there is a comment that offsets are assumed
positive, but no checking is done whether that is correct.
Let's add some checks, set offset to 0 if negative and adjust width and
height accordingly.

(cherry picked from commit e2b1cc9476)
2021-11-08 17:11:52 -05:00
..
actions Remove unnecessary space at the end of the string 2021-09-28 12:44:20 +02:00
config app: properly free internal strings at finalization and before… 2020-10-23 02:18:30 +02:00
core app: Correctly place merged down layer... 2021-09-02 12:20:09 +06:00
dialogs Show message dialogs in preferences dialog 2021-08-16 15:08:41 +02:00
display app: replace using the "draw" signal by "expose-event" on GTK+2. 2021-10-22 23:22:39 +02:00
file Issue #4536 - Seg fault when trying to open image on Google Drive (Gnome 3.34.3) 2020-07-28 11:20:18 +03:00
file-data app: fix #6436 *.gih grayscale export crashes GIMP 2021-11-08 17:11:52 -05:00
gegl app: do not try to copy a buffer result from a canceled GEGL operation. 2020-05-20 08:39:34 +03:00
gui Issue #5989 - performance improvement patches for gtk and gimp 2021-08-04 21:52:50 +02:00
menus app: start porting away from GtkAction and friends 2019-07-02 14:57:45 +02:00
operations Issue #5267: Cage transform tool causes artifacts. 2021-08-05 17:12:19 +02:00
paint Issue #4094 - Corrects some tools descriptions 2020-03-09 21:57:26 +00:00
pdb plug-ins: fix #6859 Hurl random pct limits in PDB are incorrect 2021-05-24 14:56:41 +00:00
plug-in app: fix gimp_plug_in_cleanup_item_new(). 2021-08-16 15:08:41 +02:00
propgui app: fix error propagation in boolean GUM grouping subexpressions 2020-06-12 01:35:11 +03:00
tests app, devel-docs: remove dangling DBUS_GLIB_* variables. 2019-11-16 19:32:35 +01:00
text Issue #6210: Subpixel font rendering system settings should only… 2021-10-22 12:49:43 +02:00
tools app: fix 3d transform tool not added to gimphelp-ids.h 2021-04-09 18:04:49 -04:00
vectors app: fix leaked queue created at init() (as reported by Massimo). 2021-08-16 15:08:41 +02:00
widgets app: add a comment and some newlines before the debug data section. 2021-07-05 16:45:52 +02:00
xcf Issue #987 Corrupt 'gimp-metadata' parasite. Parsing XMP data failed. 2021-01-22 12:46:10 -05:00
.gitignore
about.h
app.c app: improve opening images through the DBus service. 2020-11-11 13:19:43 +01:00
app.h
errors.c app: NULL log domain is not a bug. 2020-09-24 23:13:59 +02:00
errors.h
gimp-debug.c
gimp-debug.h
gimp-intl.h
gimp-log.c app: add gimp_log_{set,remove}_handler() 2020-08-02 11:08:45 +03:00
gimp-log.h app: add gimp_log_{set,remove}_handler() 2020-08-02 11:08:45 +03:00
gimp-priorities.h app: fix image-window UI-manager update while a projection is being rendered 2019-03-30 19:31:26 -04:00
gimp-update.c Issue #4777: "New version available" after update. 2020-10-16 18:16:06 +02:00
gimp-update.h Issue #4777: "New version available" after update. 2020-10-16 18:16:06 +02:00
gimp-version.c app: add contents of /.flatpak-info in the verbose info. 2020-07-17 22:21:47 +02:00
gimp-version.h app: store the revision number in a data file. 2020-02-14 01:00:47 +01:00
gimpcore.def app: streamline GimpHistogram; avoid spurious channel switch in histogram view 2019-10-22 15:50:24 +03:00
language.c Issue #4871: Plug-ins not translated. 2020-04-01 18:13:31 +02:00
language.h
main.c Set required variables if is running from Apple application bundle 2019-10-31 14:51:24 +00:00
Makefile.am app: check last GIMP release from gimp.org/gimp_versions.json. 2020-02-07 00:14:10 +01:00
sanity.c configure, app: depend on GEGL 0.4.32 2021-09-05 20:56:19 +02:00
sanity.h
signals.c app: fixes string format argument types on Windows 32-bit. 2020-04-21 14:15:53 +02:00
signals.h
tests.c Return FALSE on gimp_osx_focus_window to avoid endless loop 2020-01-15 17:44:53 +01:00
tests.h
unique.c
unique.h