--- embedaddon/php/ext/fileinfo/libmagic/softmagic.c 2013/07/22 01:31:50 1.1.1.3 +++ embedaddon/php/ext/fileinfo/libmagic/softmagic.c 2013/10/14 08:02:19 1.1.1.4 @@ -1630,7 +1630,7 @@ mget(struct magic_set *ms, const unsigned char *s, str /* Verify we have enough data to match magic type */ switch (m->type) { case FILE_BYTE: - if (nbytes < (offset + 1)) /* should alway be true */ + if (nbytes < (offset + 1)) /* should always be true */ return 0; break;