-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bad probe on span assignment operator.
Empty spans with data pointers one past the end of an object are allowed, but we can't allow UnownedPtr<T> to probe for validity of this location during an assignment for these spans. See e.g. https://pdfium-review.googlesource.com/c/pdfium/+/96971 for an example of how this goes wrong. Change-Id: I7ab60800a4d1584aeeec8343362337cb6c137672 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/97031 Reviewed-by: Lei Zhang <[email protected]> Commit-Queue: Tom Sepez <[email protected]>
- Loading branch information
Showing
2 changed files
with
22 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters