/[Apache-SVN]/httpd/httpd/trunk/support/htdbm.c
ViewVC logotype

Log of /httpd/httpd/trunk/support/htdbm.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 814792 - (view) (annotate) - [select for diffs]
Modified Mon Sep 14 19:24:51 2009 UTC (2 months, 1 week ago) by jorton
File length: 17475 byte(s)
Diff to previous 814781 (colored)
* support/htdbm.c (htdbm_list): Fix compiler warning on x86_64.
  (the field width must always be passed as an int if using "%.*")

Revision 814781 - (view) (annotate) - [select for diffs]
Modified Mon Sep 14 19:08:22 2009 UTC (2 months, 1 week ago) by poirier
File length: 17463 byte(s)
Diff to previous 797563 (colored)
htdbm: don't allocate more memory for every record we dump.
Thanks to Jeff Trawick for flagging this.
Also ensure a space before all dumped comments.

Revision 797563 - (view) (annotate) - [select for diffs]
Modified Fri Jul 24 17:15:29 2009 UTC (4 months ago) by poirier
File length: 17470 byte(s)
Diff to previous 758936 (colored)
htdbm: Fix possible buffer overflow if dbm database has very
long values.  PR 30586 [Dan Poirier]

PR 30586
Reported by: Ulf Harnhammar, Swedish IT Incident Centre

Revision 758936 - (view) (annotate) - [select for diffs]
Modified Fri Mar 27 00:05:18 2009 UTC (8 months ago) by trawick
File length: 17545 byte(s)
Diff to previous 526892 (colored)
remove TPF support

Revision 526892 - (view) (annotate) - [select for diffs]
Modified Mon Apr 9 19:49:59 2007 UTC (2 years, 7 months ago) by trawick
File length: 17641 byte(s)
Diff to previous 420983 (colored)
htdbm: Enable crypt support on platforms with crypt() but not
<crypt.h>, such as z/OS.

We assume that the ancient code in htpasswd has it right --
all but Windows, TPF, and NetWare have crypt().

Submitted by: David Jones <oscaremma gmail.com>
Reviewed by: wrowe, trawick


Revision 420983 - (view) (annotate) - [select for diffs]
Modified Tue Jul 11 20:33:53 2006 UTC (3 years, 4 months ago) by fielding
File length: 17407 byte(s)
Diff to previous 395228 (colored)
update license header text

Revision 395228 - (view) (annotate) - [select for diffs]
Modified Wed Apr 19 12:11:27 2006 UTC (3 years, 7 months ago) by colm
File length: 17260 byte(s)
Diff to previous 393365 (colored)
Update the copyright year in all .c, .h and .xml files

Revision 393365 - (view) (annotate) - [select for diffs]
Modified Wed Apr 12 01:58:08 2006 UTC (3 years, 7 months ago) by trawick
File length: 17260 byte(s)
Diff to previous 393364 (colored)
If we don't have a prototype for crypt() we shouldn't
be calling it.

Casting to the desired pointer return type hides the 
truncation of the return value when sizeof(ptr) > 
sizeof(int) and no prototype was included.

Revision 393364 - (view) (annotate) - [select for diffs]
Modified Wed Apr 12 01:55:11 2006 UTC (3 years, 7 months ago) by trawick
File length: 17268 byte(s)
Diff to previous 392944 (colored)
The crypt() prototype is in <unistd.h> instead of <crypt.h>
on HP-UX.  We had no prototype for crypt() there.
In 64-bit mode, a crash occurred because the pointer 
returned by crypt() was truncated before we passed
the pointer to apr_cpystrn().

Revision 392944 - (view) (annotate) - [select for diffs]
Modified Mon Apr 10 13:31:14 2006 UTC (3 years, 7 months ago) by trawick
File length: 17219 byte(s)
Diff to previous 332306 (colored)
htdbm: Warn the user when adding a plaintext password on a platform
where it wouldn't work with the server (i.e., anywhere that has
crypt()).

Revision 332306 - (view) (annotate) - [select for diffs]
Modified Thu Nov 10 15:11:44 2005 UTC (4 years ago) by jim
File length: 17055 byte(s)
Diff to previous 201455 (colored)
No functional Change: Removing trailing whitespace. This also
means that "blank" lines consisting of just spaces or
tabs are now really blank lines

Revision 201455 - (view) (annotate) - [select for diffs]
Modified Thu Jun 23 20:45:17 2005 UTC (4 years, 5 months ago) by trawick
File length: 17111 byte(s)
Diff to previous 190611 (colored)
Fix htdbm password validation for records which included comments.

Submitted by: Eric Covener <covener gmail.com>
Reviewed by:  trawick


Revision 190611 - (view) (annotate) - [select for diffs]
Modified Tue Jun 14 15:19:32 2005 UTC (4 years, 5 months ago) by jorton
File length: 17111 byte(s)
Diff to previous 151408 (colored)
* support/htdbm.c (main): Fix (valid) variable "may be used
uninitialized" warning with gcc 4.0.

Revision 151408 - (view) (annotate) - [select for diffs]
Modified Fri Feb 4 20:28:49 2005 UTC (4 years, 9 months ago) by jerenkrantz
File length: 17107 byte(s)
Diff to previous 106103 (colored)
Update copyright year to 2005 and standardize on current copyright owner line.

Revision 106103 - (view) (annotate) - [select for diffs]
Modified Sun Nov 21 18:50:36 2004 UTC (5 years ago) by nd
File length: 17071 byte(s)
Diff to previous 104548 (colored)
general property cleanup

Revision 104548 - (view) (annotate) - [select for diffs]
Modified Wed Aug 11 14:25:30 2004 UTC (5 years, 3 months ago) by jorton
File length: 17071 byte(s)
Diff to previous 104078 (colored)
* modules/ssl/ssl_engine_kernel.c (ssl_callback_SSLVerify_CRL),
* server/log.c (ap_log_pid),
* server/mpm/prefork/prefork.c (accept_mutex_on, accept_mutex_off),
* support/htdbm.c (htdbm_list):
Fix some non-literal format strings (warnings from gcc -Wformat-security).

PR: 30585
Submitted by: Ulf Harnhammar (SITIC), Joe Orton

Revision 104078 - (view) (annotate) - [select for diffs]
Modified Tue Jun 29 13:33:24 2004 UTC (5 years, 5 months ago) by martin
File length: 17065 byte(s)
Diff to previous 103005 (colored)
Use standardized names for ISO-8859-1, see http://www.iana.org/assignments/character-sets
(Using the name iso8859-1 may still work, because it is aliased in apr-iconv/ccs/charset.aliases)

Revision 103005 - (view) (annotate) - [select for diffs]
Modified Wed Mar 17 01:03:27 2004 UTC (5 years, 8 months ago) by bnicholes
File length: 17064 byte(s)
Diff to previous 102619 (colored)
Add a terminate function that gets called on atexit() so that NetWare has the chance to pause the screen to view the output before the screen is destroyed.

Submitted by: Guenter Knauf <eflash@gmx.net>

Revision 102619 - (view) (annotate) - [select for diffs]
Modified Mon Feb 9 20:40:53 2004 UTC (5 years, 9 months ago) by nd
File length: 16999 byte(s)
Diff to previous 102525 (colored)
fix name of The Apache Software Foundation

Revision 102525 - (view) (annotate) - [select for diffs]
Modified Fri Feb 6 22:58:42 2004 UTC (5 years, 9 months ago) by nd
File length: 16995 byte(s)
Diff to previous 102135 (colored)
apply Apache License, Version 2.0

Revision 102135 - (view) (annotate) - [select for diffs]
Modified Thu Jan 1 13:26:26 2004 UTC (5 years, 10 months ago) by nd
File length: 19214 byte(s)
Diff to previous 101946 (colored)
update license to 2004.

Revision 101946 - (view) (annotate) - [select for diffs]
Modified Tue Dec 2 09:41:45 2003 UTC (5 years, 11 months ago) by jerenkrantz
File length: 19214 byte(s)
Diff to previous 98573 (colored)
If we have a comment, place in a ':' not a ';' (has this *ever* worked?)
If -n is specified and we have a comment, print the comment out too.

Revision 98573 - (view) (annotate) - [select for diffs]
Modified Mon Feb 3 17:53:28 2003 UTC (6 years, 9 months ago) by nd
File length: 19040 byte(s)
Diff to previous 94633 (colored)
finished that boring job:
update license to 2003.

Happy New Year! ;-))

Revision 94633 - (view) (annotate) - [select for diffs]
Modified Sat Apr 13 19:35:18 2002 UTC (7 years, 7 months ago) by wrowe
File length: 19040 byte(s)
Diff to previous 93918 (colored)
  Correct const'ness of argv in all support apps, and use the new
  apr_app_initialize over apr_initialize for win32, and other platforms
  that may wish to tweak 'apr-ized' application support (e.g. Netware?)

Revision 93918 - (view) (annotate) - [select for diffs]
Modified Wed Mar 13 20:48:07 2002 UTC (7 years, 8 months ago) by fielding
File length: 19010 byte(s)
Diff to previous 93482 (colored)
Update our copyright for this year.

Revision 93482 - (view) (annotate) - [select for diffs]
Modified Mon Feb 18 18:19:06 2002 UTC (7 years, 9 months ago) by gregames
File length: 19010 byte(s)
Diff to previous 92931 (colored)
one step closer to happiness on ebcdic boxes

Revision 92931 - (view) (annotate) - [select for diffs]
Modified Sat Jan 19 12:16:48 2002 UTC (7 years, 10 months ago) by trawick
File length: 18998 byte(s)
Diff to previous 92898 (colored)
clean up a bunch of warnings

Revision 92898 - (view) (annotate) - [select for diffs]
Modified Fri Jan 18 00:14:43 2002 UTC (7 years, 10 months ago) by jwoolley
File length: 19352 byte(s)
Diff to previous 92591 (colored)
As long as the spelling police are on the prowl, I figured I might as well
pitch in.

Revision 92591 - (view) (annotate) - [select for diffs]
Modified Mon Dec 24 07:05:19 2001 UTC (7 years, 11 months ago) by ianh
File length: 19352 byte(s)
Diff to previous 91772 (colored)
allow htdbm to work with multiple DBM types by using a new option
'-T'

ps..
why doesn't this program use apr_getopt??

Revision 91772 - (view) (annotate) - [select for diffs]
Modified Tue Nov 6 21:11:45 2001 UTC (8 years ago) by wrowe
File length: 18831 byte(s)
Diff to previous 91768 (colored)
  Thanks for the catch, Mr. Woolley, I left an out-of-place close paren.

Revision 91768 - (view) (annotate) - [select for diffs]
Modified Tue Nov 6 16:58:59 2001 UTC (8 years ago) by wrowe
File length: 18832 byte(s)
Diff to previous 91767 (colored)
  Eliminate 'library'+'executable' cruft.  Yes - this would be a dandy
  library at some point in the future (perhaps 2.1?) but for this moment,
  simplify.

  Also simplify over-decorated apu_htdbm_ prefixes to simply htdbm_

Revision 91767 - (view) (annotate) - [select for diffs]
Added Tue Nov 6 16:52:59 2001 UTC (8 years ago) by wrowe
File length: 19303 byte(s)
  Submitted by: Mladen Turk <mturk@mappingsoft.com>

  htdbm provides a compiled interface to dbm authentication databases,
  using the compiled-in dbm manager and auth schema.  Resolves the hassles
  of grabbing the appropriate cpan package for md5 and fixing the dbm
  engine for dbmmanage.pl.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2