Closed SnwMds closed 2 years ago
Wow tar stores these numbers in just a horrible format. Hmm, how should I even parse this number? It is 8 bytes ascii digits oct encoded null-terminated monster.
And apparently null-terminated wasn't enough, this file has a space before the null-terminator, insane. I think I'll just walk the bytes and assume the number starts at the first ascii digit and ends when I reach a character that isn't an ascii number. Crazy crazy but I guess tar is ancient.
Did this and tagged release 0.9.7. I look forward to the next tar oct int bug lol.
Thanks for the quick fix!
Code:
Log:
Tarball: https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.4.2.tar.gz