Fixed and committed to SVN.
Best,
Scuri
2018-01-16 22:23 GMT-02:00 Ranier VF <ranier_...@hotmail.com>:
> 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
> ------------------------------------------------------------
> ------------------
> 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
>
>
------------------------------------------------------------------------------
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