aidansteele / MagicKit

MagicKit is an Objective-C file identification framework based on libmagic.
Other
193 stars 50 forks source link

Error handling, and code reduction #7

Closed jmah closed 11 years ago

jmah commented 11 years ago

Most significant is catching NULL char* result when magic_file is passes a path to a non-existent file (and I suspect other cases that return NULL).