[Webkit-unassigned] [Bug 89787] alignment crash in MIMESniffer
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 11 14:14:16 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=89787
--- Comment #1 from Rob Buis <rwlbuis at gmail.com> 2012-07-11 14:14:16 PST ---
One way to fix this is by simply not using reinterpret_cast_ptr:
- const uint32_t* data32 = reinterpret_cast_ptr<const uint32_t*>(data);
+ const uint32_t* data32 = static_cast<const uint32_t*>(static_cast<const void*>(data));
For ARMv7/BLACKBERRY this works fine, no warning and no ASSERT hit.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list