Bug 31726
| Summary: | StringHash::equal is unsafe on platforms which aren't 4-byte aligned | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Steve Block <steveblock> |
| Component: | Platform | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | ap |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Other | ||
| OS: | Other | ||
Steve Block
Code in StringHash::equal accesses memory as 32-bit values assuming 4-byte alignment.
This is unsafe on some platforms, eg ARM.
Note that this problem is equivalent to that fixed in AtomicString with http://trac.webkit.org/changeset/19930
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
This was recently fixed.
*** This bug has been marked as a duplicate of bug 31475 ***