[webkit-reviews] review requested: [Bug 43358] Fix warning in JavaScriptCore/wtf/ByteArray.h : [Attachment 64018] Fix the array subscript is above array bounds warning in ByteArray on ARM

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 10 09:41:44 PDT 2010


Gabor Loki <loki at webkit.org> has asked	for review:
Bug 43358: Fix warning in JavaScriptCore/wtf/ByteArray.h
https://bugs.webkit.org/show_bug.cgi?id=43358

Attachment 64018: Fix the array subscript is above array bounds warning in
ByteArray on ARM
https://bugs.webkit.org/attachment.cgi?id=64018&action=review

------- Additional Comments from Gabor Loki <loki at webkit.org>
The proposed patch replaces the m_data array to a zero-sized one, in order to
skip the 'array subscript is above array bounds' warning check. I think the
reason of this warning should be very similar to this GCC's bug:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37861

This fix works fine with GCC. I hope the other build-bots will be happy as well
;)


More information about the webkit-reviews mailing list