react-native-macos/ReactKit
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
..
Base [Images] Bail out when GIF data is in unexpected format instead of crashing 2015-02-26 07:49:06 -08:00
Executors [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
Layout [ReactNative] Bring back ReactKit proj files 2015-02-20 16:49:03 -08:00
Modules Unified bridge implementation between OSS and private React forks 2015-02-24 10:12:30 -08:00
ReactKit.xcodeproj Unified bridge implementation between OSS and private React forks 2015-02-24 10:12:30 -08:00
Views [Image] Really improve the quality of mis-sized images w/trilinear filtering 2015-02-25 13:41:42 -08:00