summaryrefslogtreecommitdiff
path: root/libbb
AgeCommit message (Collapse)Author
2003-08-22"staywithu" writes:Eric Andersen
In BusyBox v1.00-pre2, commands like ls, df with -h option report a wrong file size for files larger than 4GBtye!! For example, when I execute 'ls -l', it reports -rw-r--r-- 1 root root 5368709120 Aug 17 2003 large_stream.tp when I execute 'ls -lh', I expect that -rw-r--r-- 1 root root 5.0G Aug 17 2003 large_stream.tp but it reports -rw-r--r-- 1 root root 1.0G Aug 17 2003 large_stream.tp I fixed this bug that... Line 31 in libbb/human_readable.c and line 275 include/libbb.h const char *make_human_readable_str(unsigned long size => const char *make_human_readable_str(unsigned long long size It's OK!
2003-08-14Fix a bug reported by junkio@cox.net involving the mode_chars index.Manuel Novoa III
2003-08-06Latest dash update from vodzEric Andersen
2003-08-06Patch from vodz to cleanup libbb/obscure.c:password_check()Eric Andersen
to not copy too much data.
2003-08-06Joe.C writes:Eric Andersen
I've reported this bug in April and it still exists in 1.00-pre2. So I made patches for both 0.60.x and 1.00-pre2. The patch is very simple, just use strncmp instead of strcmp. Please apply if it is OK. Here's the procedure to test this problem: Create a executable with very long name, say 'test_1234567890123456' and execute it. Try using 'killall' or 'pidof' to find/kill this program. Without this patch, you can't find the program.
2003-08-02Save 0.5K.Manuel Novoa III
2003-07-30Vladimir N. Oleynik writes:Eric Andersen
This moment have algoritmicaly problem, not overflow: strcat(wrapped, wrapped) - may be looped. Hand patch: - else if (strstr(strcat(wrapped, wrapped), newmono)) + else { + safe_strncpy(wrapped + lenwrap, wrapped, lenwrap + 1); + if (strstr(wrapped, newmono)) +} --w vodz
2003-07-29Bruno Randolf writes:Eric Andersen
this patch fixes run_parts when it's called by ifupdown. 1) argv has to be a NULL terminated char* array, not just a string. 2) run_parts now explicitly sets the environment. this environment is populated from the /etc/network/interfaces config file and is needed by the scripts in /etc/network/if-pre-up.d/. when run-parts is called from the command line the environment is taken from the current process. Vladimir Oleynik then wrote: You can simplify this if use: + bb_xasprintf(&buf[0], "/etc/network/if-%s.d", opt); + buf[1] = NULL; + + run_parts(&buf, 2, environ); + free(buf[0]); --w vodz
2003-07-28last_patch95 from vodz:Eric Andersen
Hi. Last patch have new libbb function vfork_rexec() for can use daemon() to uClinux system. This patched daemons: syslog, klogd, inetd, crond. This not tested! I havn`t this systems. Also. Previous patch for feature request MD5 crypt password for httpd don`t sended to this mailist on 07/15/03 (mailist have Pytom module problem?). The previous patch included, and have testing. --w vodz
2003-07-28James Petterson writes:Eric Andersen
I've found a possible bug in libbb/interface.c, in function if_readlist_proc(). This function calls get_name(), and passes as an argument 'name', a buffer of 16 bytes (IFNAMSIZ). The function get_name(), however, may use more than 16 bytes, when it is searching for aliases. Even if you don't have an alias interface, you can run into trouble if the interface has received more than 99999999 bytes, in which case the space between the interface name and the rx stats disappears, as in the /proc/net/dev example below: wan0.200:264573315 462080 ... In this case get_name() correctly identifies the interface name as "wan0.200", but to do that it uses 18 bytes of the 'name' buffer, which could lead to an unpredictable error. A simple solution would be to increase the size of the buffer:
2003-07-22Remove remaining libc5 support codeEric Andersen
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-07-05Fixup compile problem with dmallocEric Andersen
2003-07-03Patch from Russell Coker:Eric Andersen
I've attached my latest SE Linux patch for busybox against the latest CVS version of busybox.
2003-07-03Using safe_read seems, well, safer...Eric Andersen
2003-06-26Geir Thomassen wrote, regarding networking/httpd.c line 1358Eric Andersen
Hello, I think the test for an unconfigured httpd is wrong in the CVS (busybox-unstable-20030620.tar.bz2) flg_deny_all is default 0 vodz then wrote: Oops. You are right. Also, this mistake haved from two place. Last patch rewroted to my new get_ularg() function for overcompensate size from this error found ;-)
2003-06-20Don't shadow a paramaterEric Andersen
2003-06-20last_patch89 from vodz:Eric Andersen
Manuel, I rewrite bb_getopt_ulflags() function for more universal usage. My version support now: - options with arguments (optional arg as GNU extension also) - complementaly and/or incomplementaly and/or incongruously and/or list options - long_opt (all applets may have long option, add supporting is trivial) This realisation full compatibile from your version. Code size grow 480 bytes, but only coreutils/* over compensate this size after using new function. Last patch reduced over 800 bytes and not full applied to all. "mkdir" and "mv" applets have long_opt now for demonstrate trivial addition support long_opt with usage new bb_getopt_ulflags(). Complementaly and/or incomplementaly and/or incongruously and/or list options logic is not trivial, but new "cut" and "grep" applets using this logic for examples with full demostrating. New "grep" applet reduced over 300 bytes. Mark, Also. I removed bug from "grep" applet. $ echo a b | busybox grep -e a b a b a b But right is printing one only. --w vodz
2003-06-10Vodz, last_patch_88Glenn L McGrath
2003-05-27Put this back the way it was. I misunderstood what vodz was doing.Eric Andersen
2003-05-26Make all syscall declarations use the syscall() functionEric Andersen
2003-05-26This was doing some silly stuff that is not necessary when usingEric Andersen
vfork(), so I have simplified it.
2003-05-26Skip printing "/proc/%d/cmdline" stuff when it is not relevantEric Andersen
2003-05-26Remove cruftEric Andersen
2003-05-26Vodz, last_patch_86Glenn L McGrath
2003-05-13Fix \l so it doesnt print the character as well as the tty, from oldGlenn L McGrath
patch by Nick Fedchik
2003-05-02Patch from Dmitry V. Levin to fix a fd leakEric Andersen
2003-04-21sync with waldiGlenn L McGrath
2003-04-19Patch from David Updegraff to use calloc so that forward pointers start outEric Andersen
NULL, and so it can handle format strings that have stuff _after_ the last %? specification
2003-04-16Minor .o file naming changeEric Andersen
2003-03-19Restrict octal perms to <= 07777. Cosmetic error message change.Manuel Novoa III
2003-03-19Obligatory forgotten item.Manuel Novoa III
2003-03-19Major coreutils update.Manuel Novoa III
2003-03-07With nightmares of libbb ending up with 100 .c files startingEric Andersen
with "bb_" it seems best to rename this now and avoid starting an evil KDE style naming trend.
2003-03-07Define bb_xgetlarg as a standard interface for extractingEric Andersen
numbers from getopt which includes careful error checking. -Erik
2003-02-27Write all the help text for the util-linux utilities. AllowEric Andersen
people to locate the mtab file somewhere other that /etc to accomodate read only root filesystems. -Erik
2003-02-09Fix compiler warnings, patch by Steven ScholzGlenn L McGrath
2003-01-21Login prompt function, part of waldi's telnetd from inetd patchGlenn L McGrath
2003-01-21run telnet from inetd, present login prompt if login is configured,Glenn L McGrath
patch from Bastian Blank
2003-01-20New test mode that allows run_parts to fail silently if the directoryGlenn L McGrath
is not found. Patch from Bastian Blank
2003-01-20Make test mode output same as official versionGlenn L McGrath
2003-01-14Eliminate most instances where we use linux kernel headersEric Andersen
-Erik
2003-01-13Correct some init issues, update email address, last_patch78 by VladimirGlenn L McGrath
N. Oleynik
2002-12-14rmmod -a removed modules recursivelyTim Riker
2002-12-13Merge copyfd and copy_file_chunkGlenn L McGrath
2002-12-08Move add_to_list from libunarchive to libbb so it can be of more general use ↵Glenn L McGrath
(eg ifupdown). Changed the name to llist_add_to as i plan on adding more llist_ functions as needed (e.g. llist_free).
2002-12-07Re-sort filenames to alphebetical order.Glenn L McGrath
2002-12-07Commit to reverse my previous commit, isnt cvs supposed to have some undo ↵Glenn L McGrath
command ?
2002-12-07include "busybox" after the libc includes tofix compile errorsGlenn L McGrath
2002-12-05Kill CONFIG_FEATURE_USE_DEVPS_PATCH and the devps patch. I'm notEric Andersen
maintaining it anymore, and it is now terribly out of date. -Erik