RESOLVED FIXED 219601
Add check to ensure that the size of the result of AXTextMarkerGetBytePtr is equal to the size of TextMarkerData.
https://bugs.webkit.org/show_bug.cgi?id=219601
Summary Add check to ensure that the size of the result of AXTextMarkerGetBytePtr is ...
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.