react-native-macos/ReactKit/Base
James Ide d0d774d403 [Images] Bail out when GIF data is in unexpected format instead of crashing
Summary:
When the GIF data is not a string nor NSData, `imageSource` is some unknown value set to whatever memory was on the stack. Calling `CGImageSourceGetType` on it has undefined behavior, and if it makes through to the CFRelease (maybe because it is NULL) then CFRelease will crash. This fixes a clang warning.
Closes https://github.com/facebook/react-native/pull/77
Github Author: James Ide <ide@jameside.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-02-26 07:49:06 -08:00
..
RCTAnimationType.h [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
RCTAssert.h [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
RCTAssert.m [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
RCTAutoInsetsProtocol.h [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
RCTBridge.h Unified bridge implementation between OSS and private React forks 2015-02-24 10:12:30 -08:00
RCTBridge.m Unified bridge implementation between OSS and private React forks 2015-02-24 10:12:30 -08:00
RCTBridgeModule.h Unified bridge implementation between OSS and private React forks 2015-02-24 10:12:30 -08:00
RCTCache.h [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
RCTCache.m [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
RCTConvert.h [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
RCTConvert.m [Images] Bail out when GIF data is in unexpected format instead of crashing 2015-02-26 07:49:06 -08:00
RCTEventDispatcher.h Unified bridge implementation between OSS and private React forks 2015-02-24 10:12:30 -08:00
RCTEventDispatcher.m Unified bridge implementation between OSS and private React forks 2015-02-24 10:12:30 -08:00
RCTImageDownloader.h [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
RCTImageDownloader.m [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
RCTInvalidating.h [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
RCTJSMethodRegistrar.h Unified bridge implementation between OSS and private React forks 2015-02-24 10:12:30 -08:00
RCTJavaScriptExecutor.h [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
RCTKeyCommands.h [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
RCTKeyCommands.m [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
RCTLog.h [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
RCTLog.m [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
RCTPointerEvents.h [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
RCTRedBox.h [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
RCTRedBox.m Only update Redbox when offscreen 2015-02-24 16:58:48 -08:00
RCTRootView.h [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
RCTRootView.m Unified bridge implementation between OSS and private React forks 2015-02-24 10:12:30 -08:00
RCTScrollableProtocol.h [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
RCTSparseArray.h [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
RCTSparseArray.m Unified bridge implementation between OSS and private React forks 2015-02-24 10:12:30 -08:00
RCTTouchHandler.h [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
RCTTouchHandler.m Unified bridge implementation between OSS and private React forks 2015-02-24 10:12:30 -08:00
RCTUtils.h [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
RCTUtils.m [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
RCTViewNodeProtocol.h [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00