kwo pushed a commit to branch master. http://git.enlightenment.org/legacy/imlib2_loaders.git/commit/?id=ec510f793d4b3f14ac5da5e3665f0c71726e5649
commit ec510f793d4b3f14ac5da5e3665f0c71726e5649 Author: Kim Woelders <k...@woelders.dk> Date: Fri Nov 22 20:10:30 2019 +0100 XCF loader: Avoid accessing unset data in signature check --- src/modules/loaders/loader_xcf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/loaders/loader_xcf.c b/src/modules/loaders/loader_xcf.c index c9a44b2..01d8b6c 100644 --- a/src/modules/loaders/loader_xcf.c +++ b/src/modules/loaders/loader_xcf.c @@ -1534,6 +1534,7 @@ xcf_file_init(char *filename) image->cp = 0; + memset(id, 0, sizeof(id)); image->cp += xcf_read_int8(image->fp, (DATA8 *) id, 14); if (strncmp(id, "gimp xcf ", 9) != 0) { --