diff options
Diffstat (limited to 'src/plist.c')
| -rw-r--r-- | src/plist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plist.c b/src/plist.c index 1eaa4e6..781f795 100644 --- a/src/plist.c +++ b/src/plist.c | |||
| @@ -210,7 +210,7 @@ void* memmem(const void* haystack, size_t haystack_len, const void* needle, size | |||
| 210 | 210 | ||
| 211 | int plist_is_binary(const char *plist_data, uint32_t length) | 211 | int plist_is_binary(const char *plist_data, uint32_t length) |
| 212 | { | 212 | { |
| 213 | if (length < 8) { | 213 | if (plist_data == NULL || length < 8) { |
| 214 | return 0; | 214 | return 0; |
| 215 | } | 215 | } |
| 216 | 216 | ||
