Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Possible fix for convertIdToFollyDynamic crash
Summary: The crash in T90602856 is very similar to one fixed by D22488854 (see discussion [in PR](microsoft#489 (comment))), and it's possible this `replacement` string also suffers from sharing the same backing store as the attributed string (maybe only when the range encompasses the entire string?) and therefore should be copied as well. It's low risk, and hopefully we find it eliminates this crash, in which case I'll upstream into core. Test Plan: Smoke tested Zeratul Reviewers: lyahdav, mowang Reviewed By: lyahdav Subscribers: eliwhite Differential Revision: https://phabricator.intern.facebook.com/D28885871 Tasks: T90602856 Signature: 28885871:1622762608:ea6a17208d585ebd6b0668135be47ae914c19a45
- Loading branch information