[cairo] static array allocation caused a segfault

Pete pete at shinners.org
Mon Nov 12 12:02:52 PST 2007

qiuhqing <qiuhqing <at> gmail.com> writes:
>     double rgb[805*805*3];

Also be aware that ARGB32 should be 805 * 805 * 4. Your static array is too
small, even if it works directly on the stack like this.

More information about the cairo mailing list