Hi Ranier

I am also looking for an IUP build that works with MSVC 2017.  In my case I
really need a 32-bit build (although I'm also interested in a 64-bit build).
If you work out how to build under MSBC 2017 (64 bit, or 32, but ideally
both), please let me know how you did it.  I spent some time on this a few
months back and gave up when I ran out of time.  Thank you.

Antonio, I know you're bringing out a build of IUP binaries - any idea when
that will be?

All the best

Simon


-----Original Message-----
From: Ranier VF [mailto:ranier_...@hotmail.com] 
Sent: 04 November 2019 4:52 PM
To: IUP discussion list.
Subject: [Iup-users] IUP trunk=iup_dlglist.c (dereferencing a potential null
pointer)

Hi, 
Dereferencing a potential null pointer (ih_array), lines 122, 116.

--- \dll\iup\a\src\iup_dlglist.c        Thu Jul 25 16:27:06 2019
+++ iup_dlglist.c       Mon Nov 04 13:47:53 2019
@@ -115,7 +115,7 @@
   int i = 0, count;
   Ihandle** ih_array = (Ihandle**)malloc(idlg_count * sizeof(Ihandle*));
   Idiallst *list;
-  for (list = idlglist; list; list = list->next)
+  for (list = idlglist; list && i < idlg_count; list = list->next)
   {
     if (iupObjectCheck(list->ih))
     {

Thanks.
Ranier Vilela



_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to