aboutsummaryrefslogtreecommitdiff
path: root/libbb/obscure.c
AgeCommit message (Collapse)Author
2006-11-30passwd: rework:Denis Vlasenko
* do not make backup copy by copying (just retain old file) * correctly fall back to /etc/passwd if user is not in shadow * fix bug with overlong passwd entries * be permissive on some kinds of failures * reduce stack usage * code size: -500 bytes
2006-11-27style cleanup: return(a) -> return a, part 2Denis Vlasenko
2006-11-27style cleanup: return(a) -> return a, part 1Denis Vlasenko
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
2006-07-15Tito writes: If the gecos field of an user is empty, obscure reports a false ↵Mike Frysinger
"similar to gecos" error.
2006-07-02Correct the comment to match the code."Robert P. J. Day"
2006-07-02Allow a user-configurable minimum password length."Robert P. J. Day"
2006-05-19- include strings.hBernhard Reutner-Fischer
Thanks to Rich Felker for pointing this out.
2006-04-02New version from Tito.Rob Landley
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2006-02-05Save a few bytes in error message.Rob Landley
2006-01-31more obscure"Vladimir N. Oleynik"
2006-01-13- correct definitions.Bernhard Reutner-Fischer
2006-01-12- shrink simple obscure stuff a tiny bit:Bernhard Reutner-Fischer
text data bss dec hex filename 789 0 0 789 315 obscure.o.oorig 771 0 0 771 303 obscure.o - replace bzero by memset while at it.
2003-08-06Patch from vodz to cleanup libbb/obscure.c:password_check()Eric Andersen
to not copy too much data.
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-03-19Major coreutils update.Manuel Novoa III
2002-10-10last_patch61 from vodz:Eric Andersen
New complex patch for decrease size devel version. Requires previous patch. Also removed small problems from dutmp and tar applets. Also includes vodz' last_patch61_2: Last patch correcting comment for #endif and more integrated with libbb (very reduce size if used "cat" applet also). Requires last_patch61 for modutils/config.in.
2002-06-23Port over the last of the tinylogin appletsEric Andersen
-Erik