ar
ar copied to clipboard
ar: add a NewStrictReader
The NewReader method in reader.go doesn't check that the magic header is correct, this leads to some strange things, like ascii text files being parsed without any error.
This change is a suggestion to add a NewStrictReader which checks for the magic header.