> 1. Memory corruption at src/iup_draw.c
> variable points has size of 6, but call Polygon with only size 3.
> iupdrvDrawPolygon call msvc Polygon function

   Count is the number of points, not the size of the array.

> 2. Memory corruption at srcglcontrols/iup_gldraw.c
> variable points has size of 6, but call Polygon with only size 3.
> iupGLDrawPolygon call msvc Polygon function

   Same

> 3. Possible division by zero at srcglcontrols/iup_gldraw.c
> variable sb_range can be zero

  If range is zero the scrollbar is not displayed, so that function is
never called. But I added a test.

Best,
Scuri


Em dom., 12 de jul. de 2020 às 21:09, Ranier Vilela <ranier_...@hotmail.com>
escreveu:

> Hi Scuri,
>
> Here some new issues with IUP.
>
> 1. Memory corruption at src/iup_draw.c
> variable points has size of 6, but call Polygon with only size 3.
> iupdrvDrawPolygon call msvc Polygon function
>
> 2. Memory corruption at srcglcontrols/iup_gldraw.c
> variable points has size of 6, but call Polygon with only size 3.
> iupGLDrawPolygon call msvc Polygon function
>
> 3. Possible division by zero at srcglcontrols/iup_gldraw.c
> variable sb_range can be zero
>
> 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