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

Reply via email to