tiny_libmaker: strip leading directory to avoid buffer overrun
commit69fe7585a2d1504bc6b3395f62638d32cb59cbb8
authorgrischka <grischka>
Sat, 4 Dec 2010 15:56:58 +0000 (4 16:56 +0100)
committergrischka <grischka>
Sat, 4 Dec 2010 15:56:58 +0000 (4 16:56 +0100)
treec13a8ae452c6bebd4f951c39bfefe33adca04a81
parent21c2a68aa0f73c0d9b24e65b6e342e2dab40b97a
tiny_libmaker: strip leading directory to avoid buffer overrun

The arhdr.ar_name has 16 bytes.  Long object names esp. with
leading directory were causing a buffer overrun which was
detected by glibc.
win32/tools/tiny_libmaker.c