d9d47c3078
In most cases, dirname returns the same argument it was given, so this code works nice, but there's one special case: when the name contains no dirname, it returns "." (stored statically in the body of itself), and we get a segfault in attempt to free() it. This patch fixes this problem. |
||
---|---|---|
.. | ||
libunarchive | ||
ar.c | ||
bunzip2.c | ||
config.in | ||
cpio.c | ||
dpkg_deb.c | ||
dpkg.c | ||
gunzip.c | ||
gzip.c | ||
Makefile | ||
Makefile.in | ||
rpm2cpio.c | ||
tar.c | ||
unzip.c |