Hello,
When using cpio to extract some archives recently, an error occurred.
I tried to compile a cpio binary with symbols from the source and figure it out, it seems the binary compiled from the source doesn't suffer from the issue.
But it indeed affects the binary installed from the .deb file (or "apt-get isntall" command). I have tested it on both Ubuntu 16.04 and Kali 2018:
- cpio 2.11 on Ubuntu 16.04 (x86-64)
- cpio 2.12 on Kali 2018 (x86-64)
To reproduce, just run the command: cpio -i < ./cpio_512 . (PS: try to run multiple times if it fails.)
The related files are attached.
Thanks!