As pointed out by Dhiraj, it is possible to set width and height values in the ICO header that will overflow a 32 bit integer when loaded in. This patch adds checks using g_size_check_mul () and g_try_new () to catch these overflows and prevent them from crashing the plug-in. |
||
|---|---|---|
| .. | ||
| ico-dialog.c | ||
| ico-dialog.h | ||
| ico-export.c | ||
| ico-export.h | ||
| ico-load.c | ||
| ico-load.h | ||
| ico.c | ||
| ico.h | ||
| meson.build | ||