Introduce GIMP_PATTERN_MAX_SIZE (10000) and GIMP_PATTERN_MAX_NAME (256)
and validate pattern dimensions and pattern name length against them.
Add GIMP_BRUSH_MAX_NAME and validate that too.
Also make sure that the names are properly terminated, and some
cleanup.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| actions | ||
| config | ||
| core | ||
| dialogs | ||
| display | ||
| file | ||
| gegl | ||
| gui | ||
| menus | ||
| operations | ||
| paint | ||
| pdb | ||
| plug-in | ||
| propgui | ||
| tests | ||
| text | ||
| tools | ||
| vectors | ||
| widgets | ||
| xcf | ||
| .gitignore | ||
| about.h | ||
| app.c | ||
| app.h | ||
| errors.c | ||
| errors.h | ||
| gimp-debug.c | ||
| gimp-debug.h | ||
| gimp-intl.h | ||
| gimp-log.c | ||
| gimp-log.h | ||
| gimp-priorities.h | ||
| gimp-version.c | ||
| gimp-version.h | ||
| gimpcore.def | ||
| language.c | ||
| language.h | ||
| main.c | ||
| Makefile.am | ||
| sanity.c | ||
| sanity.h | ||
| signals.c | ||
| signals.h | ||
| tests.c | ||
| tests.h | ||
| unique.c | ||
| unique.h | ||