Fixed and committed to SVN.
Best,
Scuri
2018-01-16 15:35 GMT-02:00 Ranier VF <ranier_...@hotmail.com>:
> Hi,
> Multiplie issues found by Coverity Scan.
> CID 210642 (#3 of 3): Dereference after null check (FORWARD_NULL)
> file: iup_font.c
> Function:iupGetFontInfo
>
> Vars: size, is_bold, is_italic, is_underline, is_strikeout, typeface, can
> be
> NULL according with code:
>
> if (size) *size = 0;
> if (is_bold) *is_bold = 0;
> if (is_italic) *is_italic = 0;
> if (is_underline) *is_underline = 0;
> if (is_strikeout) *is_strikeout = 0;
> if (typeface) *typeface = 0;
>
> but, such vars are dereferenced these functions:
> iupFontParseWin
> iupFontParseX
> iupFontParsePango
>
> 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