oweals/busybox.git
18 years agoPatch from Denis Vlasenko to make unlzma smaller.
Rob Landley [Thu, 9 Mar 2006 17:51:25 +0000 (17:51 -0000)]
Patch from Denis Vlasenko to make unlzma smaller.

18 years ago- remove check. Fixes e.g. buildroot
Bernhard Reutner-Fischer [Thu, 9 Mar 2006 16:49:46 +0000 (16:49 -0000)]
- remove check. Fixes e.g. buildroot

18 years ago- fix typo
Bernhard Reutner-Fischer [Thu, 9 Mar 2006 16:49:01 +0000 (16:49 -0000)]
- fix typo

18 years ago- backout using features which are not available with the previous stable
Bernhard Reutner-Fischer [Thu, 9 Mar 2006 09:03:37 +0000 (09:03 -0000)]
- backout using features which are not available with the previous stable
  version of make (3.71.1).

18 years agoimport most of e2fsprogs 1.38 updates
Mike Frysinger [Wed, 8 Mar 2006 07:03:27 +0000 (07:03 -0000)]
import most of e2fsprogs 1.38 updates

18 years agovi-mode changes: eliminate warnings from out-of-range-for-type
Paul Fox [Tue, 7 Mar 2006 20:26:11 +0000 (20:26 -0000)]
vi-mode changes:  eliminate warnings from out-of-range-for-type
case labels that are emitted by gcc4.  rearrange macros to
eliminate these extra case labels entirely (since the optimizer
may no longer do it for us).  eliminate static BUFSIZ character
deletion buffer -- malloc it, and make it much much smaller.

18 years agoRobert P. Day removed 8 gazillion occurrences of "extern" on function
Rob Landley [Mon, 6 Mar 2006 20:47:33 +0000 (20:47 -0000)]
Robert P. Day removed 8 gazillion occurrences of "extern" on function
definitions.  (That should only be on prototypes.)

18 years agoWalt Wimer noticed that mknod couldn't handle major or minor > 255. Now our
Rob Landley [Mon, 6 Mar 2006 19:31:39 +0000 (19:31 -0000)]
Walt Wimer noticed that mknod couldn't handle major or minor > 255.  Now our
limit checking autodetects what the system supports (at compile time).

18 years ago- workaround bug in make-3.81beta4:
Bernhard Reutner-Fischer [Mon, 6 Mar 2006 14:20:43 +0000 (14:20 -0000)]
- workaround bug in make-3.81beta4:
- has to use
/top/obj/dir/*.o: /top/obj/dir/file.o: /top/src/file.c
instead of the proper
/top/obj/dir/*.o: /top/obj/dir/file.o: /top/src/dir/file.c

18 years ago- work around missing features and bugs in make-3.79.1:
Bernhard Reutner-Fischer [Mon, 6 Mar 2006 14:19:15 +0000 (14:19 -0000)]
- work around missing features and bugs in make-3.79.1:
- no order-only prerequisites; incomplete workaround (see comment in diff)
- no internal variable MAKEFILE_LIST; workaround
- define bar\nfoo:=<long-list>  doesn't work; workaround
also:
- reinstate clean, distclean as noconfig_target.
- unconditionally clean libbusybox.so*

18 years agoclean *.osm as pointed out by Robert P. J. Day
Mike Frysinger [Sun, 5 Mar 2006 18:04:23 +0000 (18:04 -0000)]
clean *.osm as pointed out by Robert P. J. Day

18 years agoclean busybox_unstripped as pointed out by Robert P. J. Day
Mike Frysinger [Sun, 5 Mar 2006 16:25:19 +0000 (16:25 -0000)]
clean busybox_unstripped as pointed out by Robert P. J. Day

18 years agoPatch from Robert P. Day, moving byte order checks to use platform.h macros.
Rob Landley [Sat, 4 Mar 2006 22:40:25 +0000 (22:40 -0000)]
Patch from Robert P. Day, moving byte order checks to use platform.h macros.

18 years ago- correct comment.
Bernhard Reutner-Fischer [Fri, 3 Mar 2006 20:31:33 +0000 (20:31 -0000)]
- correct comment.
Should revisit gcc >= 4.1 with that =1 later on

18 years agoTypo fixes brought to you by the letters a, l, and Robert P. Day.
Rob Landley [Fri, 3 Mar 2006 19:02:50 +0000 (19:02 -0000)]
Typo fixes brought to you by the letters a, l, and Robert P. Day.

18 years agoKill off some unused code that was wasting several k, as noticed by
Eric Andersen [Fri, 3 Mar 2006 18:37:39 +0000 (18:37 -0000)]
Kill off some unused code that was wasting several k, as noticed by
Denis Vlasenko when building with  -ffunction-sections -fdata-sections

18 years agoDenis Vlasenko noticed that falign=0 is meaningless, and that should probably
Rob Landley [Fri, 3 Mar 2006 17:57:50 +0000 (17:57 -0000)]
Denis Vlasenko noticed that falign=0 is meaningless, and that should probably
be falign=1.  Saves a little over 3k on an x86 "make defconfig" build.

18 years ago- ar cruP doesn't replace ('r') but unconditionally _adds_ all objects.
Bernhard Reutner-Fischer [Fri, 3 Mar 2006 14:19:15 +0000 (14:19 -0000)]
- ar cruP doesn't replace ('r') but unconditionally _adds_ all objects.
landley, that one broke your tar-testing (see below).

To see the issue i was talking about in the comment to rev. 14431, remove the
'P' from ARFLAGS in Rules.mak, then recompile.

You will see undefined references to these symbols:
iplink_main
iproute_main
iptunnel_main
login_main
run_parts_main

These are due to the fact that these applets (named e.g. login.o) clash with
libbb/login.o, for example. So ar sees that we're going to add login.o
(the applet!) and does so. Later on, we add libbb/login.o (just the basename
is used, so login.o). and this libbb/login.o *replaces* the login.o (the
applet!).

I therefor want (you) to rename abovementioned files from libbb to have
a prefix bb_ (e.g. svn mv libbb/login.c libbb/bb_login.c) to avoid these
clashed.

ok?
TIA,

18 years ago- remove unused lists *-m
Bernhard Reutner-Fischer [Thu, 2 Mar 2006 18:23:13 +0000 (18:23 -0000)]
- remove unused lists *-m

18 years ago- make sure applets.o is rebuilt when the .config changes.
Bernhard Reutner-Fischer [Thu, 2 Mar 2006 18:13:05 +0000 (18:13 -0000)]
- make sure applets.o is rebuilt when the .config changes.
- don't overwrite objects in the archive. Affected applets with name-clash
  mostly vs. libbb:
iplink_main
iproute_main
iptunnel_main
login_main
run_parts_main

18 years ago- allow for make /path/to/dir/file.o
Bernhard Reutner-Fischer [Thu, 2 Mar 2006 17:38:15 +0000 (17:38 -0000)]
- allow for  make /path/to/dir/file.o

18 years ago- use absolute path for top_builddir and top_srcdir.
Bernhard Reutner-Fischer [Thu, 2 Mar 2006 17:33:25 +0000 (17:33 -0000)]
- use absolute path for top_builddir and top_srcdir.
  Fixes make trying to include the very same file in an endless loop.

18 years ago- silence warning about "'free_and_close_stuff' used but never defined"
Bernhard Reutner-Fischer [Thu, 2 Mar 2006 10:06:22 +0000 (10:06 -0000)]
- silence warning about "'free_and_close_stuff' used but never defined"

18 years agoDenis Vlasenko writes: make sizes was rebuilding busybox - unstripped one!
Bernhard Reutner-Fischer [Thu, 2 Mar 2006 09:44:32 +0000 (09:44 -0000)]
Denis Vlasenko writes: make sizes was rebuilding busybox - unstripped one!

18 years ago- fixes parallel builds (make -j)
Bernhard Reutner-Fischer [Wed, 1 Mar 2006 22:54:48 +0000 (22:54 -0000)]
- fixes parallel builds (make -j)
- use less resources for the buildsystem itself

18 years agoFixup to make warnings from the last patch go away.
Rob Landley [Wed, 1 Mar 2006 21:36:18 +0000 (21:36 -0000)]
Fixup to make warnings from the last patch go away.

18 years agoSelinux fix from Jan Kiszka.
Rob Landley [Wed, 1 Mar 2006 20:48:44 +0000 (20:48 -0000)]
Selinux fix from Jan Kiszka.

18 years ago- fix compilation of sed.
Bernhard Reutner-Fischer [Wed, 1 Mar 2006 20:14:16 +0000 (20:14 -0000)]
- fix compilation of sed.
  error: static declaration of 'free_and_close_stuff' follows non-static declaration
  Tiny whitespace cleanup while at it,
  also make sure that we don't use CONFIG_ anymore.

Rob, hope this is ok w/ you..

18 years agoCleanup patch from Denis Vlasenko. Mostly variants of removing the if(x)
Rob Landley [Wed, 1 Mar 2006 16:39:45 +0000 (16:39 -0000)]
Cleanup patch from Denis Vlasenko.  Mostly variants of removing the if(x)
from before "if(x) free(x)".

18 years agoWhen gnu fails this one we shouldn't let it _hang_...
Rob Landley [Wed, 1 Mar 2006 16:32:35 +0000 (16:32 -0000)]
When gnu fails this one we shouldn't let it _hang_...

18 years agoYet more sed tests. Passing these is a to-do item for 1.1.2 or 1.2, not a
Rob Landley [Wed, 1 Mar 2006 16:32:01 +0000 (16:32 -0000)]
Yet more sed tests.  Passing these is a to-do item for 1.1.2 or 1.2, not a
1.1.1 issue.

18 years agouse bb_xstrndup vs strndup. Thanks rfelker.
"Vladimir N. Oleynik" [Wed, 1 Mar 2006 05:39:41 +0000 (05:39 -0000)]
use bb_xstrndup vs strndup. Thanks  rfelker.

18 years agomore busybox's style: close bug 745
"Vladimir N. Oleynik" [Tue, 28 Feb 2006 10:15:42 +0000 (10:15 -0000)]
more busybox's style: close bug 745

18 years agomake grep faster (close bug 758), reduce small memory leak in CONFIG_FEATURE_CLEANUP...
"Vladimir N. Oleynik" [Tue, 28 Feb 2006 10:10:19 +0000 (10:10 -0000)]
make grep faster (close bug 758), reduce small memory leak in CONFIG_FEATURE_CLEANUP mode

18 years agomore security: don't start shell code from argv
"Vladimir N. Oleynik" [Tue, 28 Feb 2006 08:23:27 +0000 (08:23 -0000)]
more security: don't start shell code from argv

18 years agodefconfig shouldn't enable CONFIG_INSTALL_NO_USR, and while we're at it
Rob Landley [Tue, 28 Feb 2006 05:26:13 +0000 (05:26 -0000)]
defconfig shouldn't enable CONFIG_INSTALL_NO_USR, and while we're at it
remove residue of old defconfig and tweak "make with no config" to run
defconfig before bringing up menuconfig.

18 years agoCosmetic cleanup from tito.
Rob Landley [Tue, 28 Feb 2006 04:45:24 +0000 (04:45 -0000)]
Cosmetic cleanup from tito.

18 years agoCleanup from Glenn McGrath.
Rob Landley [Tue, 28 Feb 2006 03:53:14 +0000 (03:53 -0000)]
Cleanup from Glenn McGrath.

18 years ago- whitespace cleanup from Tito.
Bernhard Reutner-Fischer [Mon, 27 Feb 2006 22:34:41 +0000 (22:34 -0000)]
- whitespace cleanup from Tito.

18 years agoPatch from Glenn McGrath to remove code that opens a file but does nothing
Rob Landley [Sun, 26 Feb 2006 04:42:05 +0000 (04:42 -0000)]
Patch from Glenn McGrath to remove code that opens a file but does nothing
with it.

18 years agoremove duplicate license notice
Mike Frysinger [Sat, 25 Feb 2006 07:57:32 +0000 (07:57 -0000)]
remove duplicate license notice

18 years agostrip out unneeded comments
Mike Frysinger [Sat, 25 Feb 2006 07:42:02 +0000 (07:42 -0000)]
strip out unneeded comments

18 years agofdisk unmaintained now :(
"Vladimir N. Oleynik" [Sat, 25 Feb 2006 07:20:15 +0000 (07:20 -0000)]
fdisk unmaintained now :(

18 years agoAnother clean-up patch from Garrett.
Rob Landley [Sat, 25 Feb 2006 03:46:10 +0000 (03:46 -0000)]
Another clean-up patch from Garrett.

18 years agoMinor cleanup from Garrett Kajmowicz.
Rob Landley [Sat, 25 Feb 2006 03:36:00 +0000 (03:36 -0000)]
Minor cleanup from Garrett Kajmowicz.

18 years agoCleanup from Denis Vlasenko.
Rob Landley [Fri, 24 Feb 2006 16:29:00 +0000 (16:29 -0000)]
Cleanup from Denis Vlasenko.

18 years agoI was playing around with a dependency generator a couple weeks ago and I found
Rob Landley [Fri, 24 Feb 2006 03:15:34 +0000 (03:15 -0000)]
I was playing around with a dependency generator a couple weeks ago and I found
some #include files that aren't in the tree.  No biggie...

18 years agoMissed one in the get_line_from_file() update...
Rob Landley [Fri, 24 Feb 2006 03:12:03 +0000 (03:12 -0000)]
Missed one in the get_line_from_file() update...

18 years agoMove FAQ under docs, add programming.html to docs list.
Rob Landley [Fri, 24 Feb 2006 02:55:24 +0000 (02:55 -0000)]
Move FAQ under docs, add programming.html to docs list.

18 years agoMention patches directory as a read-only svn alternative.
Rob Landley [Fri, 24 Feb 2006 02:48:49 +0000 (02:48 -0000)]
Mention patches directory as a read-only svn alternative.

18 years agoA few changes falling out from the effort to make sed handle embedded NUL bytes.
Rob Landley [Fri, 24 Feb 2006 02:30:39 +0000 (02:30 -0000)]
A few changes falling out from the effort to make sed handle embedded NUL bytes.
Checking in to reduce the diff between my tree and svn...

18 years agoAdd a test suite for seq.
Rob Landley [Fri, 24 Feb 2006 01:45:58 +0000 (01:45 -0000)]
Add a test suite for seq.

18 years agoadd exception for uncuddling brackets
Mike Frysinger [Fri, 24 Feb 2006 01:18:24 +0000 (01:18 -0000)]
add exception for uncuddling brackets

18 years agoLots of tests the fix to sed needs to pass...
Rob Landley [Thu, 23 Feb 2006 23:13:16 +0000 (23:13 -0000)]
Lots of tests the fix to sed needs to pass...

18 years agoDocumentation update: more detail on vfork.
Rob Landley [Thu, 23 Feb 2006 19:59:34 +0000 (19:59 -0000)]
Documentation update: more detail on vfork.

18 years ago"sed 2 -2 10" was very unhappy. Made the thing bigger fixing it,
Rob Landley [Thu, 23 Feb 2006 19:54:48 +0000 (19:54 -0000)]
"sed 2 -2 10" was very unhappy.  Made the thing bigger fixing it,
fiddled a bit to get the size back down as much as I could...

18 years ago- put NLS stuff in one central place to avoid redefines.
Bernhard Reutner-Fischer [Thu, 23 Feb 2006 14:25:15 +0000 (14:25 -0000)]
- put NLS stuff in one central place to avoid redefines.
Fixes warnings about:
fdisk.c:45:1: warning: "_" redefined
nfsmount.c:121:1: warning: "_" redefined
nfsmount.c:122:1: warning: "N_" redefined
interface.c:84:1: warning: "_" redefined

18 years agoConvert all the applets from #include to USE(). Had to fix some nonstandard
Rob Landley [Thu, 23 Feb 2006 00:42:25 +0000 (00:42 -0000)]
Convert all the applets from #include to USE().  Had to fix some nonstandard
naming along the way to get USE() macros for everything.

18 years agoadd myself and Bernhard
Mike Frysinger [Thu, 23 Feb 2006 00:21:22 +0000 (00:21 -0000)]
add myself and Bernhard

18 years agotest to make sure applets are in alphabetical order
Mike Frysinger [Wed, 22 Feb 2006 23:38:57 +0000 (23:38 -0000)]
test to make sure applets are in alphabetical order

18 years agofix applet order
Mike Frysinger [Wed, 22 Feb 2006 23:33:39 +0000 (23:33 -0000)]
fix applet order

18 years agodocument leading + option
Mike Frysinger [Wed, 22 Feb 2006 22:56:30 +0000 (22:56 -0000)]
document leading + option

18 years agoYou don't need an #ifdef around #defines in usage.
Rob Landley [Wed, 22 Feb 2006 20:33:15 +0000 (20:33 -0000)]
You don't need an #ifdef around #defines in usage.

18 years agoPatch from Denis Vlasenko to constify things and fix a few typos.
Rob Landley [Wed, 22 Feb 2006 17:01:00 +0000 (17:01 -0000)]
Patch from Denis Vlasenko to constify things and fix a few typos.

18 years agoTweak my entry.
Rob Landley [Wed, 22 Feb 2006 15:40:38 +0000 (15:40 -0000)]
Tweak my entry.

18 years agoBug 751: file handle leaks can add up until available filehandles for the
Rob Landley [Wed, 22 Feb 2006 02:10:34 +0000 (02:10 -0000)]
Bug 751: file handle leaks can add up until available filehandles for the
process are exhausted.

18 years agoDon't build directory libraries unless we're building an applet that needs it.
Rob Landley [Tue, 21 Feb 2006 19:11:35 +0000 (19:11 -0000)]
Don't build directory libraries unless we're building an applet that needs it.
Cherry-picked from Devin Bayer's big MacOS X patch.

18 years agoSmall tweak cherry-picked from Devin Bayer's monster MacOS X patch.
Rob Landley [Tue, 21 Feb 2006 18:34:54 +0000 (18:34 -0000)]
Small tweak cherry-picked from Devin Bayer's monster MacOS X patch.

18 years agoForgot to check this in last night, part of the hash_fd breakup.
Rob Landley [Tue, 21 Feb 2006 15:04:07 +0000 (15:04 -0000)]
Forgot to check this in last night, part of the hash_fd breakup.

18 years agoPatch from Devin Bayer to split up hash_fd.c into md5.c and sha1.c. (I tweaked
Rob Landley [Tue, 21 Feb 2006 06:44:43 +0000 (06:44 -0000)]
Patch from Devin Bayer to split up hash_fd.c into md5.c and sha1.c.  (I tweaked
md5_sha1_sum.c to convert some #ifdef CONFIG to if(ENABLE).)

18 years agoCreate /dev/root symlink pointing to real root device, if any.
Rob Landley [Tue, 21 Feb 2006 06:11:13 +0000 (06:11 -0000)]
Create /dev/root symlink pointing to real root device, if any.

18 years agoWalter Harms added -D to date, and I did a code cleanup while I was in the
Rob Landley [Tue, 21 Feb 2006 05:06:42 +0000 (05:06 -0000)]
Walter Harms added -D to date, and I did a code cleanup while I was in the
area.  Probably broke something...

18 years agoeat extraneous newlines at the end of applet full usage
Mike Frysinger [Tue, 21 Feb 2006 04:32:03 +0000 (04:32 -0000)]
eat extraneous newlines at the end of applet full usage

18 years agoadd setarch/linux32/linux64 applet
Mike Frysinger [Tue, 21 Feb 2006 04:26:52 +0000 (04:26 -0000)]
add setarch/linux32/linux64 applet

18 years agoMissed a file in the last checkin, won't build without this...
Rob Landley [Tue, 21 Feb 2006 03:12:15 +0000 (03:12 -0000)]
Missed a file in the last checkin, won't build without this...

18 years agoa few more comment touchups
Mike Frysinger [Tue, 21 Feb 2006 00:50:37 +0000 (00:50 -0000)]
a few more comment touchups

18 years agotranslate Russian-English to just plain English
Mike Frysinger [Tue, 21 Feb 2006 00:37:42 +0000 (00:37 -0000)]
translate Russian-English to just plain English

18 years agoPatch from Giuseppe Ciotta to specify retry count.
Rob Landley [Mon, 20 Feb 2006 23:26:38 +0000 (23:26 -0000)]
Patch from Giuseppe Ciotta to specify retry count.

18 years agoRename UNUSE() to SKIP().
Rob Landley [Mon, 20 Feb 2006 23:05:06 +0000 (23:05 -0000)]
Rename UNUSE() to SKIP().

18 years agoBug 640: a filename of length exactly 100 could bleed into the next field on
Rob Landley [Mon, 20 Feb 2006 19:28:53 +0000 (19:28 -0000)]
Bug 640: a filename of length exactly 100 could bleed into the next field on
display or extract.  (Only shows up when no gnu longname extension, either
because it's disabled or because tarball hasn't got it.)

18 years agoadd s390x to the list
Mike Frysinger [Mon, 20 Feb 2006 19:28:34 +0000 (19:28 -0000)]
add s390x to the list

18 years agosync with mainstream, but check more
"Vladimir N. Oleynik" [Mon, 20 Feb 2006 16:57:36 +0000 (16:57 -0000)]
sync with mainstream, but check more

18 years agogetdomainname() isn't guaranteed to null terminate the string if it was
Rob Landley [Mon, 20 Feb 2006 16:31:44 +0000 (16:31 -0000)]
getdomainname() isn't guaranteed to null terminate the string if it was
truncated for length.  SVN 14135 made sure that the truncated version would
always be null terminated.  SVN 14144 broke this for no readily apparent
reason, and I have no idea what it was even trying to accomplish.  Reverted.

18 years agoUpdate comment.
Rob Landley [Mon, 20 Feb 2006 14:39:55 +0000 (14:39 -0000)]
Update comment.

18 years agoremove #undef strlen, use #define strlen always but without xfunc/BB_STRLEN_IMPLEMENT...
"Vladimir N. Oleynik" [Mon, 20 Feb 2006 12:15:10 +0000 (12:15 -0000)]
remove #undef strlen, use #define strlen always but without xfunc/BB_STRLEN_IMPLEMENTATION

18 years agocorrection get(host/domain)name usage, revert 742 bug
"Vladimir N. Oleynik" [Mon, 20 Feb 2006 10:44:02 +0000 (10:44 -0000)]
correction get(host/domain)name usage, revert 742 bug

18 years agosvn 14077 was completely broken and apparently never tested.
Rob Landley [Mon, 20 Feb 2006 02:44:30 +0000 (02:44 -0000)]
svn 14077 was completely broken and apparently never tested.

18 years agoThe gentoo security guys found another way to segfault busybox's decompression
Rob Landley [Mon, 20 Feb 2006 02:18:03 +0000 (02:18 -0000)]
The gentoo security guys found another way to segfault busybox's decompression
code: we can do a null dereference if one of our huffman tables has all zero
length codes.  This fixes it.  (Thanks solar.)

18 years agorfelker writes in Bug 742: make sure string is null terminated after calling gethostname
Mike Frysinger [Sun, 19 Feb 2006 23:03:31 +0000 (23:03 -0000)]
rfelker writes in Bug 742: make sure string is null terminated after calling gethostname

18 years agorfelker writes in Bug 740: s/u_char/unsigned char/
Mike Frysinger [Sun, 19 Feb 2006 22:59:12 +0000 (22:59 -0000)]
rfelker writes in Bug 740: s/u_char/unsigned char/

18 years agorfelker writes in Bug 738: sys/sysmacros.h is needed for makedev
Mike Frysinger [Sun, 19 Feb 2006 22:47:51 +0000 (22:47 -0000)]
rfelker writes in Bug 738: sys/sysmacros.h is needed for makedev

18 years agorfelker writes in Bug 736: stty.c includes unneeded, obsolete header memory.h
Mike Frysinger [Sun, 19 Feb 2006 22:43:58 +0000 (22:43 -0000)]
rfelker writes in Bug 736: stty.c includes unneeded, obsolete header memory.h

18 years agorfelker writes in Bug 734: Nothing from err.h is used, but cal.c includes it, breakin...
Mike Frysinger [Sun, 19 Feb 2006 22:41:41 +0000 (22:41 -0000)]
rfelker writes in Bug 734: Nothing from err.h is used, but cal.c includes it, breaking compile on systems lacking this function.

18 years agokill all .depend files
Mike Frysinger [Sat, 18 Feb 2006 20:13:22 +0000 (20:13 -0000)]
kill all .depend files

18 years agohide bb_mkdep build
Mike Frysinger [Sat, 18 Feb 2006 20:12:39 +0000 (20:12 -0000)]
hide bb_mkdep build

18 years agofix building on ppc64
Mike Frysinger [Sat, 18 Feb 2006 06:14:31 +0000 (06:14 -0000)]
fix building on ppc64

18 years agotype typo. Thanks, Devin Bayer
"Vladimir N. Oleynik" [Fri, 17 Feb 2006 09:33:22 +0000 (09:33 -0000)]
type typo. Thanks, Devin Bayer

18 years agoquick copy-paste typo
"Vladimir N. Oleynik" [Fri, 17 Feb 2006 09:05:41 +0000 (09:05 -0000)]
quick copy-paste typo

18 years agoFix for an integer overflow bug that could cause a segfault on certain
Rob Landley [Fri, 17 Feb 2006 05:19:40 +0000 (05:19 -0000)]
Fix for an integer overflow bug that could cause a segfault on certain
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.

18 years agoThe tendency of vi to auto-indent can be really annoying at times.
Rob Landley [Fri, 17 Feb 2006 05:12:03 +0000 (05:12 -0000)]
The tendency of vi to auto-indent can be really annoying at times.