mirror of https://github.com/GNOME/gimp.git
a0a62656d2
... (valgrind reports Invalid read) Add gimp_babl_is_valid(), which takes a GimpImageBaseType and a GimpPrecision, and determines whether the image-type/precision combination is valid. Use this function to validate that loaded XCFs use a valid type/precision combination, before trying to create the image. Otherwise, we get a CRITICAL, and eventually a segfault, when the combination is invalid. Use the same function to validate the arguments of gimp_image_new(). |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile.am | ||
xcf-load.c | ||
xcf-load.h | ||
xcf-private.h | ||
xcf-read.c | ||
xcf-read.h | ||
xcf-save.c | ||
xcf-save.h | ||
xcf-seek.c | ||
xcf-seek.h | ||
xcf-utils.c | ||
xcf-utils.h | ||
xcf-write.c | ||
xcf-write.h | ||
xcf.c | ||
xcf.h |