Fixed and committed to SVN.

Best,
Scuri


2018-01-16 23:17 GMT-02:00 Ranier VF <[email protected]>:

> Hi,
> Issue found by Coverity Scan.
> CID 210638 (#1 of 1): Explicit null dereferenced (FORWARD_NULL)
>
> --- a\srcglcontrols\iup_gldraw.c        Thu Aug 04 14:58:16 2016
> +++ b\srcglcontrols\iup_gldraw.c        Tue Jan 16 23:17:34 2018
> @@ -571,7 +570,7 @@
>      glTranslated(0.0, (double)-lineheight, 0.0);
>
>      curstr = nextstr;
> -  } while (*nextstr);
> +  } while (nextstr && *nextstr);
>
>    glPopMatrix();
>  }
>
> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to