Hi,

the bug was actually here:

    if (fprintf(file, "function load_image_%s()\n", name) < 0)

  fprintf should not be called, replaced by iImagePrint

  Thanks for reporting.

Best,
Scuri


Em qua., 15 de jan. de 2020 às 09:43, Ranier Vilela <ranier_...@hotmail.com>
escreveu:

> Hi,
>
> The var file is not properly protected, when call fprintf, and can be NULL.
> "passing null pointer file to fprintf" message from static tool analyser.
>
> best regards,
> Ranier Vilela_______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to