Permalink
Browse files

Check for NULL buffer as well

  • Loading branch information...
1 parent 6a4cd6a commit 3732a9769ee46d7704d0ec28c0a4205787b9e8f4 @mronge mronge committed Feb 4, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/CTCoreFolder.m
View
@@ -94,7 +94,7 @@ - (void)dealloc {
- (BOOL)getUTF7String:(char *)buffer fromString:(NSString *)str {
- if (str == nil) {
+ if (str == nil || buffer == nil) {
return NO;
}

0 comments on commit 3732a97

Please sign in to comment.