Hi, Issue found by Coverity Scan. CID 210656 (#1 of 1): Uninitialized pointer read (UNINIT)
--- a\src\iup_names.c Mon Oct 05 17:15:42 2015 +++ b\src\iup_names.c Tue Jan 16 22:20:35 2018 @@ -64,6 +64,7 @@ return; ih_array = (Ihandle**)malloc(count * sizeof(Ihandle*)); + memset(ih_array, 0, count * sizeof(Ihandle*)); /* store the handles before updating so we can remove elements in the loop */ name = iupTableFirst(inames_strtable); Best. Ranier
iup_names.patch
Description: iup_names.patch
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users