react-native-macos/React/CoreModules
Christoph Purrer 8b174a57c8 Possible fix for convertIdToFollyDynamic crash in RCTBaseTextInputView and RCTEventDispatcher
Summary:
A crash encountered in react-native-macOS is very similar to one fixed by https://github.com/microsoft/react-native-macos/pull/489#discussion_r451789471 (see discussion), 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.

Changelog:
[iOS][Fixed] - Possible fix for convertIdToFollyDynamic crash in RCTBaseTextInputView and RCTEventDispatcher

Reviewed By: sammy-SC

Differential Revision: D38064551

fbshipit-source-id: 9c15f2a980155ab3cbb3fde79fcb93b24ee2091a
2022-07-25 18:14:46 -07:00
..
BUCK Fixup typo in pfh labels 2022-04-05 12:15:05 -07:00
CoreModulesPlugins.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
CoreModulesPlugins.mm Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTAccessibilityManager+Internal.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTAccessibilityManager.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTAccessibilityManager.mm Remove folly import in GenerateModuleObjCpp 2022-03-22 17:10:18 -07:00
RCTActionSheetManager.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTActionSheetManager.mm feat: Add dismissActionSheet method to ActionSheetIOS (#33189) 2022-03-11 16:33:17 -08:00
RCTAlertController.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTAlertController.m fix(iOS): remove alert's window when call to `hide`. (#32833) 2022-01-19 01:09:17 -08:00
RCTAlertManager.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTAlertManager.mm Add support for "preferred" AlertButton (#32538) 2022-07-22 15:41:32 -07:00
RCTAppState.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTAppState.mm Fix AppState by removing guard for bridge, since it doesn't use bridge 2022-05-01 13:36:09 -07:00
RCTAppearance.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTAppearance.mm Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTAsyncLocalStorage.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTAsyncLocalStorage.mm Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTClipboard.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTClipboard.mm Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTDevLoadingView.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTDevLoadingView.mm Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTDevMenu.h Add hotkeysEnabled property to RCTDevMenu for iOS 2022-04-20 13:20:06 -07:00
RCTDevMenu.mm Add hotkeysEnabled property to RCTDevMenu for iOS 2022-04-20 13:20:06 -07:00
RCTDevSettings.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTDevSettings.mm Avoid self capture in blocks that would extend RCTDevSettings instance lifetime. 2022-01-20 15:39:51 -08:00
RCTDevSplitBundleLoader.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTDevSplitBundleLoader.mm Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTDeviceInfo.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTDeviceInfo.mm prevent from publishing dimensions change event when app changes state (#34014) 2022-06-28 08:56:25 -07:00
RCTEventDispatcher.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTEventDispatcher.mm Possible fix for convertIdToFollyDynamic crash in RCTBaseTextInputView and RCTEventDispatcher 2022-07-25 18:14:46 -07:00
RCTExceptionsManager.h Remove "Early" in Js error reporting function 2022-06-27 09:22:08 -07:00
RCTExceptionsManager.mm Remove "Early" in Js error reporting function 2022-06-27 09:22:08 -07:00
RCTFPSGraph.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTFPSGraph.m add casts for implicit int to float 2022-04-21 12:18:53 -07:00
RCTI18nManager.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTI18nManager.mm Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTKeyboardObserver.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTKeyboardObserver.mm Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTLogBox.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTLogBox.mm Don't display Paper surface from Logbox if Bridge is invalid 2022-05-10 16:25:47 -07:00
RCTLogBoxView.h Ensure LogBox uses UIWindowScene API for opening its view 2022-04-25 10:39:26 -07:00
RCTLogBoxView.mm Minor: Rename RCTNotAllowedInAppWideFabric to RCTNotAllowedInFabricWithoutLegacy 2022-07-08 15:07:55 -07:00
RCTPerfMonitor.mm Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTPlatform.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTPlatform.mm Remove folly import in GenerateModuleObjCpp 2022-03-22 17:10:18 -07:00
RCTRedBox.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTRedBox.mm add casts for implicit int to float 2022-04-20 16:29:02 -07:00
RCTSourceCode.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTSourceCode.mm Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTStatusBarManager.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTStatusBarManager.mm Remove folly import in GenerateModuleObjCpp 2022-03-22 17:10:18 -07:00
RCTTiming.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTTiming.mm Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTWebSocketExecutor.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTWebSocketExecutor.mm Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTWebSocketModule.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTWebSocketModule.mm Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
React-CoreModules.podspec bump RTC-Folly to 2021.07.22 (#33841) 2022-06-21 12:36:43 -07:00