Bug 219601

Summary: Add check to ensure that the size of the result of AXTextMarkerGetBytePtr is equal to the size of TextMarkerData.
Product: WebKit Reporter: Andres Gonzalez <andresg_22>
Component: New BugsAssignee: Andres Gonzalez <andresg_22>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, apinheiro, cfleizach, dmazzoni, ews-watchlist, jcraig, jdiggs, samuel_white, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Andres Gonzalez
Reported 2020-12-07 07:59:46 PST
Add check to ensure that the size of the result of AXTextMarkerGetBytePtr is equal to the size of TextMarkerData.
Attachments
Patch (1.97 KB, patch)
2020-12-07 08:13 PST, Andres Gonzalez
no flags
Andres Gonzalez
Comment 1 2020-12-07 08:13:28 PST
Simon Fraser (smfr)
Comment 2 2020-12-07 08:42:40 PST
Comment on attachment 415556 [details] Patch OK, but even the same size doesn't guarantee the same layout. Someone might re-order the members on either side.
EWS
Comment 3 2020-12-07 13:59:39 PST
Committed r270523: <https://trac.webkit.org/changeset/270523> All reviewed patches have been landed. Closing bug and clearing flags on attachment 415556 [details].
Radar WebKit Bug Importer
Comment 4 2020-12-07 14:00:37 PST
Note You need to log in before you can comment on or make changes to this bug.