Bug 236621 - [libpas] compact pointers should load payload via memcpy
Summary: [libpas] compact pointers should load payload via memcpy
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Yusuke Suzuki
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-02-14 16:42 PST by Yusuke Suzuki
Modified: 2022-02-14 19:55 PST (History)
2 users (show)

See Also:


Attachments
Patch (4.77 KB, patch)
2022-02-14 16:44 PST, Yusuke Suzuki
mark.lam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yusuke Suzuki 2022-02-14 16:42:39 PST
[libpas] compact pointers should load payload via memcpy
Comment 1 Yusuke Suzuki 2022-02-14 16:44:41 PST
Created attachment 451957 [details]
Patch
Comment 2 Yusuke Suzuki 2022-02-14 16:49:33 PST
rdar://88928951
Comment 3 Mark Lam 2022-02-14 17:00:32 PST
Comment on attachment 451957 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=451957&action=review

r=me.  Since EWS is misbehaving, please do a local build and smokes test run if you haven't already done so.

> Source/bmalloc/ChangeLog:8
> +        ASan found that we are loading 8bytes which can potentially be overflown.

nit: "8bytes" => "8 bytes".  "overflown" => "overflowed".
Comment 4 Yusuke Suzuki 2022-02-14 19:55:43 PST
Committed r289788 (247253@trunk): <https://commits.webkit.org/247253@trunk>