Hi, Issue found by Coverity Scan. CID 210635 (#1 of 1): Uninitialized scalar variable (UNINIT)
--- a\srcview\iup_view.c Fri Sep 29 14:05:12 2017
+++ b\srcview\iup_view.c Tue Jan 16 22:29:20 2018
@@ -656,7 +656,7 @@
{
char *names[MAX_NAMES];
Ihandle* ih;
- Ihandle* ih_names[MAX_NAMES];
+ Ihandle* ih_names[MAX_NAMES] = {NULL};
Ihandle* list = (Ihandle*)IupGetAttribute(self, "mainList");
int i, j=0, num_names = IupGetAllNames(names, MAX_NAMES);
for (i = 0; i < num_names; i++)
Best.
Ranier
iup_view.patch
Description: iup_view.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 [email protected] https://lists.sourceforge.net/lists/listinfo/iup-users
