mirror of
https://github.com/blacktop/ipsw.git
synced 2026-06-07 12:27:36 +00:00
IsImg4 and IsIm4p returned errors when ASN.1 parsing failed, but parse failure just means the file isn't that format. This broke callers like `kernel kmutil inspect -x` on x86_64 Macs where the kernel collection is a Mach-O .kc file, not IMG4. Return (false, nil) for parse failures; only error on I/O failure. Closes #1081