Bug 265340 - JSCore crashes immediately on big endian
Summary: JSCore crashes immediately on big endian
Status: RESOLVED DUPLICATE of bug 265342
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Other Other
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-25 15:47 PST by Jacek Piszczek
Modified: 2023-11-26 09:27 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacek Piszczek 2023-11-25 15:47:52 PST
JavaScriptCore/runtime/UGPRPair.h/makeUGPRPair doesn't account for endianness. This breaks JSCore on big endian CPUs, usually via a RELEASE_ASSERT in bytecodeOffset().
Comment 1 Jacek Piszczek 2023-11-26 09:27:44 PST

*** This bug has been marked as a duplicate of bug 265342 ***