[webkit-dev] function RecordSpan() in JavaScriptCore/wtf/FastMalloc.cpp

Tony Wang wangtao.adi at gmail.com
Wed Nov 18 23:58:47 PST 2009

Hi all,

I am using WebKit-r51075, the lastest WebKit version.

now the question:
1, line 1354 of RecordSpan() in JavaScriptCore/wtf/FastMalloc.cpp : if
(span->length > 1)
2, "span->length" is type "uintptr_t", while "1" is int, are there any error
potentials for this compare?
3, I run GtkLauncher on my embedded linux platform and got "signal SIGBUS"
4, the error comes from byte-padding mostly, so, would the expression bring
such issue here?
5, if it is, how to fix then?

Thanks in Advance,
Tony Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20091119/db3be992/attachment.html>

More information about the webkit-dev mailing list