Hi, there is a bug in AG_CursorFromXPM ... the size of the arrays data and mask is wrong:
Uint8 data[4*AG_CURSOR_MAX_W];
Uint8 mask[4*AG_CURSOR_MAX_H];
The calculated size in AG_CursorNew is w*h ... this leads to a crash is w and h
are AG_CURSOR_MAX_W and AG_CURSOR_MAX_H (1024 bytes > 128 bytes.
Cheers
--Armin
_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html
