Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In SCSI2SD 4.1.1 circa 2015 c09e15b there was a bug introduced that incorrectly checked the allocation length of the Apple Vendor page. This worked as it was silently truncating the response. But did cause the vendor string to always be sent even if Apple Quirks was disabled. In upstream 0abf488 an attempt was made to fix this, but it was not tested with Apple’s formatting utilities as it does not work. After validating with multiple real apple firmware drives the correct behavior is to truncate the page. This is the same behavior as every other page being sent. Note newer drives page code is actually this longer variant but older ones have a shorter length. The Apple formatting tools ignore the page length field when doing their checks so was left as the longer variant, truncated.
- Loading branch information