aboutsummaryrefslogtreecommitdiff
path: root/archival
AgeCommit message (Collapse)Author
2006-02-20Bug 640: a filename of length exactly 100 could bleed into the next field onRob Landley
display or extract. (Only shows up when no gnu longname extension, either because it's disabled or because tarball hasn't got it.)
2006-02-20The gentoo security guys found another way to segfault busybox's decompressionRob Landley
code: we can do a null dereference if one of our huffman tables has all zero length codes. This fixes it. (Thanks solar.)
2006-02-17Fix for an integer overflow bug that could cause a segfault on certainRob Landley
pathological archives. (Unlikely to have security implications, the only way to trigger it basically wound up doing memset(dbuf,x,2^31) and triggering an immediate segfault. The test basically gives us a more polite error message.) Thanks to Ned Ludd and the Gentoo security guys for finding this.
2006-02-17The tendency of vi to auto-indent can be really annoying at times.Rob Landley
2006-02-17More whitespace than you can possibly imagine...Rob Landley
2006-02-02make the build system puuuuuuuuuuurtyMike Frysinger
2006-01-30passing around an int as a void* is a very bad ideaEric Andersen
2006-01-30sort out yet more type issuesEric Andersen
2006-01-30fixup a few types to prevent gcc (rightfully) whining about mixingEric Andersen
signed and unsigned, unmatches pointer target types, etc
2006-01-30- add some ATTRIBUTE_UNUSED.Bernhard Reutner-Fischer
- use shorter boilerplate while at it.
2006-01-25just whitespaceTim Riker
2006-01-22- add platform.h.Bernhard Reutner-Fischer
- use shorter boilerplate while at it.
2006-01-20Patch from Aurelien Jacobs to add unlzma. (A new decompression type,Rob Landley
see www.7-zip.org)
2006-01-15- shared libbusybox.Bernhard Reutner-Fischer
- IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
2006-01-10Don't return 0 when there's an error.Rob Landley
2006-01-09Bug 547: writing out the tar file header before we confirm we can actuallyRob Landley
open and read from the file isn't something we can recover from after the fact. Resequence things to check first, write second.
2006-01-04use MAP_PRIVATE instead of MAP_SHARED for uClinux systems (see Bug 550)Mike Frysinger
2005-12-29- silence warning about unused paramBernhard Reutner-Fischer
needs revisit later on like many others to use ATTRIBUTE_UNUSED from platform.h
2005-12-16Bug 601: When we fork an archiver and feed stuff to it through a pipe, ifRob Landley
we don't close the pipe the child process won't exit, and we'll hang in waitpid().
2005-12-12- typo: s/sucess/success/gBernhard Reutner-Fischer
What's up with loginutils/su.c line 42: "SYSLOG_SUCESS" ? Please have a look..
2005-12-06reduce 3 warning if compile with -W"Vladimir N. Oleynik"
2005-11-12I noticed that "tar tvjf file.tbz" was segfaulting. This fixed it.Rob Landley
2005-10-27Add --no-same-owner and --no-same-permissions options to tar.Rob Landley
2005-10-16The fact "tar tvjf thing.tbz" didn't work was due to the "-1" in -r11859,Rob Landley
which was apparently never tested. That meant that there always had to be at least one unparsed argument left over, which is not the case for tar.
2005-10-16Whitespace and curly bracket cleanup (our tabstop is 4 in busybox),Rob Landley
and switch more stuff from CONFIG to ENABLE.
2005-10-15llist must initialize, add loses ifdef, small indent correction"Vladimir N. Oleynik"
2005-10-15Add --exclude option (to make uClibc-0.9.28 headers install using busybox tar).Rob Landley
I have no idea how to apply bb_getopt_complementally to a --longopt that has no short option. The documentation from vodz has a bad case of babelfish poisoning, and I can't understand it. It sort of seems to suggest there is a way, but what it is I have no idea. So I used \n as the short option, which is fairly unlikely to be used for something else. :)
2005-10-14- new bb_opt_complementally syntax, use [-:?] only - 'free' chars"Vladimir N. Oleynik"
- new bb_getopt_ulflags features: check max and min args, convert first argv to options special for ar and tar applets - use bb_default_error_retval for env applet
2005-10-13- typo in makefile variable: s/archvial/archival/Bernhard Reutner-Fischer
2005-10-12usage bb_dev_null"Vladimir N. Oleynik"
2005-10-12Prepend '-' to the first argument if required, more const, indent"Vladimir N. Oleynik"
2005-10-12new featured bb_opt_complementally, correct argc checking"Vladimir N. Oleynik"
2005-10-11There doesn't seem to be a standard header for makedev(), but this is close.Rob Landley
2005-10-11- use complementally '!' to '?' - 'ask' is best 'free' char for this."Vladimir N. Oleynik"
- more long opt compatibility, can set flag for long opt struct now - more logic: check opt-depend requires and global requires, special for 'id' and 'start-stop-daemon' applets.
2005-10-10bb_mkdep: Rewroted. removed problem "include name must uniq", speed up * 3."Vladimir N. Oleynik"
e2fsprogs: remove confuse bb_mkdep. Use internal e2fsprogs includes only. other: remove confuse bb_mkdep.
2005-10-07- remove superfluous C statements ";;" in decompress_unzip.c, dpkg_deb.c ↵Bernhard Reutner-Fischer
ifconfig.c - gzip.c: see if O_NOFOLLOW is defined before using it, else take alternate path closes bug #221 (partially; The rest will follow later).
2005-09-29change interface to bb_xasprintf() - more perfect for me."Vladimir N. Oleynik"
ln.c: error_msg(str)->error_msg(%s, str) - remove standart "feature" for hackers reduce 100 bytes don't care in sum
2005-09-25Stop gcc4 from nit-picking about signedness of char *.Rob Landley
2005-09-24use the shorter license headerMike Frysinger
2005-09-24use brief license lineMike Frysinger
2005-09-20- rename libbb's password helpers as suggested in libbb.hBernhard Reutner-Fischer
my_getpwnam -> bb_xgetpwnam /* dies on error */ my_getgrnam -> bb_xgetgrnam /* dies on error */ my_getgrgid -> bb_getgrgid my_getpwuid -> bb_getpwuid my_getug -> bb_getug
2005-09-14Patch from Berhnard Fischer to keep duplicate objects out of the library.Rob Landley
2005-09-14remove unrequired dependences"Vladimir N. Oleynik"
2005-09-11Cleanup patch by Bernhard Fischer, removing unnecessary includes ofRob Landley
getopt.h, whitespace changes, typos, etc.
2005-09-06typo, thanks, Bernhard Fischer"Vladimir N. Oleynik"
2005-09-051) bb_opt_complementaly -> bb_opt_complementally"Vladimir N. Oleynik"
2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally
2005-09-01Fix for bug 383: attempting to "tar c /" would error out because strippingRob Landley
trailing / turns that into an empty string.
2005-08-31Anand Avati hit an integer overflow problem in our unzip code.Rob Landley
2005-08-30Don't comment warnings, _FIX_ warnings. (And putting in #warnings aboutRob Landley
other warnings is just gross.) On a side note, while I was there, I made the code slightly smaller.
2005-08-30Dirk Clemens pointed out how easy it is to support bzip2 compression, since weRob Landley
shell out to an external program to handle gzip anyway...