On Mon, Oct 13, 2014 at 07:38:40PM +0200, Magnus Holmgren wrote: > Steinar, can you provide a pointer to the heuristic code in GNU tar that you > mentioned, as well as a description of the test cases you've used?
Hi, The logic is in src/list.c, function decode_header; you can see it checks TMAGIC there. However, I've given up using libtar for my project (there are too many issues for me, and I don't have the time to track them all down and try to provide patches that don't break anything), so feel free to close this bug. /* Steinar */ -- Homepage: http://www.sesse.net/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org