[webkit-help] Help with possible buffer overflow (JS code) in our DFB port

Alex Vazquez alexvazquezfente at gmail.com
Sun Aug 1 15:34:10 PDT 2010


We are using a DirectFB port of webkit as GUI renderer on an embedded device
(MIPS architecture).

We use a lot of Javascript code and we are experiencing random crashes when
we bunch all that code in a single file without compressing it
(yui-compressor). We suspect that we have some kind of buffer overflow that
causes these random crashes since it almost never crashes on the same

It is hard to determine exactly which is the file size limit, if this is the
case, because it seems different for each execution (the memory corrupted
may not be used for a long time) but we have reproduced the bug with a
Javascript file of 300 KB. Also, we don't know if the bug is platform
specific, architecture specific, etc ...

Any idea of how to investigate this issue (source files where the Javascript
files are read to memory, build variables/parameters that can affect this
behaviour, or any other idea) is welcome.

Thanks and kind regards,

Alejandro Vazquez Fente
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20100802/a8e47d81/attachment.html>

More information about the webkit-help mailing list