]> git.sur5r.net Git - openldap/log
openldap
17 years agoRemove ltp_active_list. It became unneeded when rev 1.24 added thread_keys[].
Hallvard Furuseth [Mon, 4 Jun 2007 22:18:01 +0000 (22:18 +0000)]
Remove ltp_active_list.  It became unneeded when rev 1.24 added thread_keys[].
Tighten loop in pool_pause(): Omit unneeded ltp_pcond signals since rev 1.64.
Fix comment.

17 years agoDates and OpenLDAP CVS tag
Gavin Henry [Sun, 3 Jun 2007 23:57:58 +0000 (23:57 +0000)]
Dates and OpenLDAP CVS tag

17 years agoChange date to 2007.
Gavin Henry [Sun, 3 Jun 2007 23:54:11 +0000 (23:54 +0000)]
Change date to 2007.

17 years agoneeds portable.h
Pierangelo Masarati [Sat, 2 Jun 2007 11:31:17 +0000 (11:31 +0000)]
needs portable.h

17 years agomake searches expand all matching sets of group/url[/member] configurations; relax...
Pierangelo Masarati [Sat, 2 Jun 2007 11:27:43 +0000 (11:27 +0000)]
make searches expand all matching sets of group/url[/member] configurations; relax configuration test as per ITS#4989

17 years agofix leak
Pierangelo Masarati [Sat, 2 Jun 2007 10:43:02 +0000 (10:43 +0000)]
fix leak

17 years agoclarify use of -y (as per ITS#4994)
Pierangelo Masarati [Sat, 2 Jun 2007 10:19:10 +0000 (10:19 +0000)]
clarify use of -y (as per ITS#4994)

17 years agoAdding # $
Gavin Henry [Fri, 1 Jun 2007 21:56:17 +0000 (21:56 +0000)]
Adding # $

17 years agoMoving from Slurpd.
Gavin Henry [Fri, 1 Jun 2007 19:47:02 +0000 (19:47 +0000)]
Moving from Slurpd.

17 years agoNew TOC, new sdf files and merging/reworking of existing data. Makefile updated and...
Gavin Henry [Fri, 1 Jun 2007 17:45:42 +0000 (17:45 +0000)]
New TOC, new sdf files and merging/reworking of existing data. Makefile updated and tested also.

17 years agoSimplify: Remove tid_zero, thread_keys[].id and ldap_int_main_tid.
Hallvard Furuseth [Fri, 1 Jun 2007 15:24:19 +0000 (15:24 +0000)]
Simplify: Remove tid_zero, thread_keys[].id and ldap_int_main_tid.
Not needed after ldap_int_thread_userctx_t.ltu_id was added and
_pool_wrapper took care not to update thread_keys[] during pauses.
Fix bogus thread_keys[].ctx comment.

17 years agothread pool data was accessed through the wrong type
Hallvard Furuseth [Thu, 31 May 2007 20:52:15 +0000 (20:52 +0000)]
thread pool data was accessed through the wrong type

17 years agoAdd comments. Constify tid_zero. Shut up gcc -Wswitch. if(!tpool)->assert().
Hallvard Furuseth [Thu, 31 May 2007 19:47:38 +0000 (19:47 +0000)]
Add comments. Constify tid_zero. Shut up gcc -Wswitch. if(!tpool)->assert().

17 years agoAdd variable ldap_int_has_thread_pool, assert(at most one pool);
Hallvard Furuseth [Thu, 31 May 2007 17:15:54 +0000 (17:15 +0000)]
Add variable ldap_int_has_thread_pool, assert(at most one pool);

17 years agoShut up gcc -Wformat
Hallvard Furuseth [Thu, 31 May 2007 17:07:57 +0000 (17:07 +0000)]
Shut up gcc -Wformat

17 years agoITS#4991 restore save_attrs when a request is finished to let do_search()
Ralf Haferkamp [Thu, 31 May 2007 15:49:45 +0000 (15:49 +0000)]
ITS#4991 restore save_attrs when a request is finished to let do_search()
cleanup correctly

17 years agoITS#4991 restore mapped AttributeNames before processing a response
Ralf Haferkamp [Thu, 31 May 2007 15:46:46 +0000 (15:46 +0000)]
ITS#4991 restore mapped AttributeNames before processing a response

17 years agoIn pool_submit():
Hallvard Furuseth [Thu, 31 May 2007 12:47:24 +0000 (12:47 +0000)]
In pool_submit():
- Move problematic mutex_unlock()-mutex_lock() into the unused #ifdef
  LDAP_PVT_THREAD_POOL_SEM_LOAD_CONTROL and add a FIXME comment inside.
- Delay ltp_starting--; until pool_wrapper().  Nonzero value could otherwise
  no longer be exposed when !defined LDAP_PVT_THREAD_POOL_SEM_LOAD_CONTROL.

17 years agoPreserve key order when deleting, so context_reset will free last keys first.
Hallvard Furuseth [Thu, 31 May 2007 12:08:50 +0000 (12:08 +0000)]
Preserve key order when deleting, so context_reset will free last keys first.

17 years agoMake get_thread_info() static. Handle ldap_pvt_thread_pool_t = int (not ptr).
Hallvard Furuseth [Wed, 30 May 2007 22:20:20 +0000 (22:20 +0000)]
Make get_thread_info() static.  Handle ldap_pvt_thread_pool_t = int (not ptr).

17 years agoITS#4966 valsort_modify: ignore Delete modops with no values
Howard Chu [Fri, 25 May 2007 00:58:59 +0000 (00:58 +0000)]
ITS#4966 valsort_modify: ignore Delete modops with no values

17 years agoRegenerate with gnutls TLS_LIBS
Howard Chu [Wed, 23 May 2007 23:29:46 +0000 (23:29 +0000)]
Regenerate with gnutls TLS_LIBS

17 years agoMust set TLS_LIBS for gnutls
Howard Chu [Wed, 23 May 2007 23:28:11 +0000 (23:28 +0000)]
Must set TLS_LIBS for gnutls

17 years agoUse IANA-assigned OID for entryDN and remove hide flag.
Kurt Zeilenga [Wed, 23 May 2007 03:54:31 +0000 (03:54 +0000)]
Use IANA-assigned OID for entryDN and remove hide flag.

17 years agoZero value example for pwdAccountLockedTime (ITS#4978)
Gavin Henry [Tue, 22 May 2007 14:20:04 +0000 (14:20 +0000)]
Zero value example for pwdAccountLockedTime (ITS#4978)

17 years agoclarify that slapo-rwm could hide rootDSE and subschema
Pierangelo Masarati [Mon, 21 May 2007 00:01:49 +0000 (00:01 +0000)]
clarify that slapo-rwm could hide rootDSE and subschema

17 years agoFix --without-tls (ITS#4975). Enable certificate matching.
Hallvard Furuseth [Sun, 20 May 2007 22:48:21 +0000 (22:48 +0000)]
Fix --without-tls (ITS#4975).  Enable certificate matching.

17 years agoPrevious message should have gone in ITS. It is ITS#4974.
Hallvard Furuseth [Sun, 20 May 2007 20:06:32 +0000 (20:06 +0000)]
Previous message should have gone in ITS.  It is ITS#4974.

17 years agolibldap/tls.c calls CRYPTO_set_id_callback(ldap_pvt_thread_self), which
Hallvard Furuseth [Sun, 20 May 2007 20:02:52 +0000 (20:02 +0000)]
libldap/tls.c calls CRYPTO_set_id_callback(ldap_pvt_thread_self), which
causes ldap_pvt_thread_self to be called with the wrong prototype.

That can cause OpenSSL to use a garbage value, e.g. if the unsigned
long it expects takes two words but ldap_pvt_thread_t is an int.

I'm fixing it in HEAD now and also provoking an error if unsigned
long cannot hold a ldap_pvt_thread_t.  Otherwise it can silently
compile to broken code.  Maybe the latter should go in configure,
but since OpenSSL presumably breaks anyway if that fails I don't
see much point at this time.

17 years agoOnly use terminal escapes (in $TB/$TN) when printing to a terminal.
Hallvard Furuseth [Sat, 19 May 2007 21:26:54 +0000 (21:26 +0000)]
Only use terminal escapes (in $TB/$TN) when printing to a terminal.
Remove a bogus 'waiting' message; the script does not sleep there.

17 years agotest fix to ITS#4964
Pierangelo Masarati [Sat, 19 May 2007 14:17:34 +0000 (14:17 +0000)]
test fix to ITS#4964

17 years agomore ITS#4973 initialization
Pierangelo Masarati [Sat, 19 May 2007 14:12:24 +0000 (14:12 +0000)]
more ITS#4973 initialization

17 years agore-parse ID from passmod request, if necessary (ultimately fixes ITS#4964, along...
Pierangelo Masarati [Sat, 19 May 2007 14:08:49 +0000 (14:08 +0000)]
re-parse ID from passmod request, if necessary (ultimately fixes ITS#4964, along with fix to ITS#4973)

17 years agorelated to ITS#4973
Pierangelo Masarati [Sat, 19 May 2007 14:06:42 +0000 (14:06 +0000)]
related to ITS#4973

17 years agoGive OperationBuffer normal struct members instead of using
Hallvard Furuseth [Fri, 18 May 2007 23:54:26 +0000 (23:54 +0000)]
Give OperationBuffer normal struct members instead of using
LBER_ALIGNED_BUFFER(OPERATION_BUFFER_SIZE), as discussed in ITS#4078.
Add a corresponding SyncOperationBuffer in overlays/syncprov.c.

17 years agoRegenerate
Hallvard Furuseth [Fri, 18 May 2007 18:53:10 +0000 (18:53 +0000)]
Regenerate

17 years agoOnly use terminal escapes (in $TB/$TN) when printing to a terminal.
Hallvard Furuseth [Fri, 18 May 2007 18:42:59 +0000 (18:42 +0000)]
Only use terminal escapes (in $TB/$TN) when printing to a terminal.

17 years agoITS#4972: $LDAP_THREAD_DEBUG, detached threads, debug_already_initialized().
Hallvard Furuseth [Fri, 18 May 2007 17:49:38 +0000 (17:49 +0000)]
ITS#4972: $LDAP_THREAD_DEBUG, detached threads, debug_already_initialized().

Also plug a memory leak, set state vars even when unused for the sake of
debugging, and tweak some readability issues & data types.

17 years agoclean-local: Delete configpw configpw.conf
Hallvard Furuseth [Fri, 18 May 2007 15:32:50 +0000 (15:32 +0000)]
clean-local: Delete configpw configpw.conf

17 years agoReadability patch: ERRVAL() macro for pthreads < 7 vs. >= 7 return values.
Hallvard Furuseth [Fri, 18 May 2007 15:28:09 +0000 (15:28 +0000)]
Readability patch: ERRVAL() macro for pthreads < 7 vs. >= 7 return values.

17 years agoRe-fixing ITS#2667: test -a and test -o unportable, use && and ||.
Hallvard Furuseth [Fri, 18 May 2007 15:23:28 +0000 (15:23 +0000)]
Re-fixing ITS#2667: test -a and test -o unportable, use && and ||.

17 years agoOnly define x509_cert_get_dn() when HAVE_GNUTLS. Remove unused variable.
Hallvard Furuseth [Fri, 18 May 2007 15:10:15 +0000 (15:10 +0000)]
Only define x509_cert_get_dn() when HAVE_GNUTLS.  Remove unused variable.

17 years agoprintf format paranoia: macros could be changed to contain format chars
Hallvard Furuseth [Fri, 18 May 2007 14:48:28 +0000 (14:48 +0000)]
printf format paranoia: macros could be changed to contain format chars

17 years agoUnused varaibles
Hallvard Furuseth [Fri, 18 May 2007 14:46:52 +0000 (14:46 +0000)]
Unused varaibles

17 years agoWarning cleanup (avoid cast double return val -> integer, gcc gets suspicious)
Hallvard Furuseth [Fri, 18 May 2007 14:45:56 +0000 (14:45 +0000)]
Warning cleanup (avoid cast double return val -> integer, gcc gets suspicious)

17 years agoinclude lber-int.h (for rev 1.396 certificate changes)
Hallvard Furuseth [Fri, 18 May 2007 14:41:28 +0000 (14:41 +0000)]
include lber-int.h (for rev 1.396 certificate changes)

17 years ago...
Pierangelo Masarati [Thu, 17 May 2007 13:57:20 +0000 (13:57 +0000)]
...

17 years agoHeader nitpick
Hallvard Furuseth [Wed, 16 May 2007 23:28:58 +0000 (23:28 +0000)]
Header nitpick

17 years agoSEE ALSO slapcat(8), slapd-ldif(5)
Hallvard Furuseth [Wed, 16 May 2007 23:27:41 +0000 (23:27 +0000)]
SEE ALSO slapcat(8), slapd-ldif(5)

17 years agoClarify "bind on"
Hallvard Furuseth [Wed, 16 May 2007 23:23:48 +0000 (23:23 +0000)]
Clarify "bind on"

17 years agoExplain rootDSE
Hallvard Furuseth [Wed, 16 May 2007 23:23:02 +0000 (23:23 +0000)]
Explain rootDSE

17 years agoallow array of more generic syntaxes
Pierangelo Masarati [Wed, 16 May 2007 09:13:14 +0000 (09:13 +0000)]
allow array of more generic syntaxes

17 years agoallow attribute inheritance with syntax restriction (please review)
Pierangelo Masarati [Wed, 16 May 2007 01:40:34 +0000 (01:40 +0000)]
allow attribute inheritance with syntax restriction (please review)

17 years agofurther cleanup round in back-relay database selection; cleanup
Pierangelo Masarati [Wed, 16 May 2007 01:39:41 +0000 (01:39 +0000)]
further cleanup round in back-relay database selection; cleanup

17 years agocheck for NULL dn in URL; set error code before seding extended response (partially...
Pierangelo Masarati [Tue, 15 May 2007 22:29:06 +0000 (22:29 +0000)]
check for NULL dn in URL; set error code before seding extended response (partially addresses ITS#4968)

17 years agoFix GNUtls acknowledgement, initial work by Matt Backes. Sponsored by
Howard Chu [Mon, 14 May 2007 23:35:36 +0000 (23:35 +0000)]
Fix GNUtls acknowledgement, initial work by Matt Backes. Sponsored by
The Written Word and Stanford University.

17 years agoITS#4961 disable schema checking on contextCSN update
Howard Chu [Mon, 14 May 2007 21:25:48 +0000 (21:25 +0000)]
ITS#4961 disable schema checking on contextCSN update

17 years agomake openssl builds working again
Ralf Haferkamp [Mon, 14 May 2007 12:19:32 +0000 (12:19 +0000)]
make openssl builds working again

17 years agoapply fixes in ITS#4951 (tested)
Pierangelo Masarati [Sun, 13 May 2007 23:14:55 +0000 (23:14 +0000)]
apply fixes in ITS#4951 (tested)

17 years agoReapply part of rev 1.2 warning cleanup, it was lost in next revision
Hallvard Furuseth [Sun, 13 May 2007 22:32:33 +0000 (22:32 +0000)]
Reapply part of rev 1.2 warning cleanup, it was lost in next revision

17 years agoGNUtls - ignore free of NULL ctx
Howard Chu [Sun, 13 May 2007 09:43:41 +0000 (09:43 +0000)]
GNUtls - ignore free of NULL ctx

17 years agoDon't NUL-terminate bervals during DN parsing
Howard Chu [Sun, 13 May 2007 09:37:37 +0000 (09:37 +0000)]
Don't NUL-terminate bervals during DN parsing

17 years agoDon't use strdup on bervals
Howard Chu [Sun, 13 May 2007 09:36:52 +0000 (09:36 +0000)]
Don't use strdup on bervals

17 years agoTest no longer depends on --with-tls
Howard Chu [Sun, 13 May 2007 09:35:57 +0000 (09:35 +0000)]
Test no longer depends on --with-tls

17 years agoAdded GNUtls notes
Howard Chu [Sun, 13 May 2007 01:59:46 +0000 (01:59 +0000)]
Added GNUtls notes

17 years agoAdd CRLfile option for GNUtls
Howard Chu [Sun, 13 May 2007 01:34:12 +0000 (01:34 +0000)]
Add CRLfile option for GNUtls

17 years agoUse liblber for certificate Validation, Normalization
Howard Chu [Sun, 13 May 2007 01:27:51 +0000 (01:27 +0000)]
Use liblber for certificate Validation, Normalization

17 years agoMerged GNUtls support into main tls.c
Howard Chu [Sun, 13 May 2007 00:15:27 +0000 (00:15 +0000)]
Merged GNUtls support into main tls.c

17 years agoNo more dependency on OpenSSL
Howard Chu [Sat, 12 May 2007 23:44:58 +0000 (23:44 +0000)]
No more dependency on OpenSSL

17 years agoAdd back-monitor (and its OID arc) to Backend/Database registry
Hallvard Furuseth [Sat, 12 May 2007 17:55:37 +0000 (17:55 +0000)]
Add back-monitor (and its OID arc) to Backend/Database registry

17 years agoif no database can be looked up, don't send result when not appropriate
Pierangelo Masarati [Sat, 12 May 2007 13:09:48 +0000 (13:09 +0000)]
if no database can be looked up, don't send result when not appropriate

17 years agodon't try to lookup a database when there's no request DN
Pierangelo Masarati [Sat, 12 May 2007 13:07:17 +0000 (13:07 +0000)]
don't try to lookup a database when there's no request DN

17 years agofix read off by one (spotted by valgrind)
Pierangelo Masarati [Sat, 12 May 2007 12:38:09 +0000 (12:38 +0000)]
fix read off by one (spotted by valgrind)

17 years agoFix for !(LDAP_DEBUG && LDAP_SYSLOG)
Hallvard Furuseth [Fri, 11 May 2007 23:04:33 +0000 (23:04 +0000)]
Fix for !(LDAP_DEBUG && LDAP_SYSLOG)

17 years agoComment fixes.
Hallvard Furuseth [Fri, 11 May 2007 18:48:13 +0000 (18:48 +0000)]
Comment fixes.
Corrected rev 1.67 cvs comment: ltu_key[] is NULL-terminated _when not full_.

17 years agoAdded ciphersuite support
Howard Chu [Thu, 10 May 2007 21:49:43 +0000 (21:49 +0000)]
Added ciphersuite support

17 years agoRegenerate with GNUtls additions
Howard Chu [Thu, 10 May 2007 20:33:41 +0000 (20:33 +0000)]
Regenerate with GNUtls additions

17 years agoAdd GNUtls detection
Howard Chu [Thu, 10 May 2007 20:33:10 +0000 (20:33 +0000)]
Add GNUtls detection

17 years agoFix typo in prev commit
Howard Chu [Thu, 10 May 2007 20:15:40 +0000 (20:15 +0000)]
Fix typo in prev commit

17 years agoAdd LDAP_OPT_X_TLS_CRLFILE, peer cert verification for GNUtls
Howard Chu [Thu, 10 May 2007 19:43:28 +0000 (19:43 +0000)]
Add LDAP_OPT_X_TLS_CRLFILE, peer cert verification for GNUtls

17 years agoITS#4954 clear c_sasl_dn after error
Howard Chu [Thu, 10 May 2007 19:34:27 +0000 (19:34 +0000)]
ITS#4954 clear c_sasl_dn after error

17 years agoITS#4952 use memcmp to compare CSN values
Howard Chu [Thu, 10 May 2007 18:46:15 +0000 (18:46 +0000)]
ITS#4952 use memcmp to compare CSN values

17 years agoSince we only have LDAP_MAXTHR thread_keys, allow max LDAP_MAXTHR
Hallvard Furuseth [Wed, 9 May 2007 23:25:03 +0000 (23:25 +0000)]
Since we only have LDAP_MAXTHR thread_keys, allow max LDAP_MAXTHR
threads per pool, even when ltp_max_count <= 0 ("unlimited").
Keep ltp_max_count in range [0, LDAP_MAXTHR].

17 years agoMake ldap_int_thread_userctx_t.ltu_key[] a proper NULL-terminated array.
Hallvard Furuseth [Wed, 9 May 2007 22:59:04 +0000 (22:59 +0000)]
Make ldap_int_thread_userctx_t.ltu_key[] a proper NULL-terminated array.
(setkey/getkey expected that, but purgekey could set a NULL in the middle.)
Added some checks for input key!=NULL.

API changes, need review - I'm not sure what's indented here:
- setkey(data=NULL, kfree!=NULL) searched as if intended to reset
  the key, but updated by setting the key.  Now always updates.
- setkey(key=<not found>, data=NULL) could return either success or
  failure.  Now succeeds iff (data == NULL && kfree == NULL).

17 years agothread_keys is a (poor) open-addessed hash table, but it lacked a
Hallvard Furuseth [Wed, 9 May 2007 22:22:44 +0000 (22:22 +0000)]
thread_keys is a (poor) open-addessed hash table, but it lacked a
"deleted item" mark.  Add DELETED_THREAD_CTX.
Also improve the hash function a bit, and make the hash unsigned.

17 years agoProtect thread_keys[] with ldap_pvt_thread_pool_mutex, except in
Hallvard Furuseth [Wed, 9 May 2007 21:38:28 +0000 (21:38 +0000)]
Protect thread_keys[] with ldap_pvt_thread_pool_mutex, except in
ldap_pvt_thread_pool_purgekey() which may only be called during pauses.

Thus, also wait for pauses to finish before accessing thread_keys in
ldap_int_thread_pool_wrapper().  This may prevent pending tasks from
being started when a pause had been requested, which seems to have been
possible.  If that was a feature, we can split ltp_pause==1 in 2 states:
in pause (causes wait), and pause requested.

Also move 'thread_keys[].id = <thread id>' from pool_submit to
pool_wrapper.  Until pool_wrapper set the ctx as well, thread context
lookup would just return NULL anyway.

17 years agoReplace state LDAP_INT_THREAD_POOL_PAUSING with member ltp_pause,
Hallvard Furuseth [Wed, 9 May 2007 19:53:25 +0000 (19:53 +0000)]
Replace state LDAP_INT_THREAD_POOL_PAUSING with member ltp_pause,
so a pause will work during states FINISHING and STOPPING.

Add missing waits and signals, and move waits in pool_wrapper().
Replace if(test) with while(test) when waiting for the multi-purpose
condition variable ltp_cond.

17 years agoITS#4943:
Hallvard Furuseth [Wed, 9 May 2007 19:34:49 +0000 (19:34 +0000)]
ITS#4943:
In ldap_pvt_thread_pool_submit(), when backing out of thread creation:
  ltp_pending_count '++' -> '--'.  Signal if there are no more threads.
In ldap_int_thread_pool_wrapper():
  if() -> assert() where false would result in eternal loop.

17 years agoDon't complain if detached threads exit after ldap_debug_thread_destroy().
Hallvard Furuseth [Wed, 9 May 2007 19:21:08 +0000 (19:21 +0000)]
Don't complain if detached threads exit after ldap_debug_thread_destroy().

17 years agoRemove unused variables
Hallvard Furuseth [Wed, 9 May 2007 19:11:44 +0000 (19:11 +0000)]
Remove unused variables

17 years agoassert(pointer) -> assert(pointer != NULL)
Hallvard Furuseth [Wed, 9 May 2007 19:10:36 +0000 (19:10 +0000)]
assert(pointer) -> assert(pointer != NULL)

17 years agoStruct/array initializers must be constant expressions in C89
Hallvard Furuseth [Wed, 9 May 2007 19:09:32 +0000 (19:09 +0000)]
Struct/array initializers must be constant expressions in C89

17 years agoCast Debug(%p) pointer argument to void*
Hallvard Furuseth [Wed, 9 May 2007 18:38:10 +0000 (18:38 +0000)]
Cast Debug(%p) pointer argument to void*

17 years agoRebuild
Hallvard Furuseth [Wed, 9 May 2007 18:19:17 +0000 (18:19 +0000)]
Rebuild

17 years agoITS#4948: '#if <undefined macro>' -> '#ifdef' warning cleanup
Hallvard Furuseth [Wed, 9 May 2007 18:17:10 +0000 (18:17 +0000)]
ITS#4948: '#if <undefined macro>' -> '#ifdef' warning cleanup

17 years agocoverity scan, e is non-NULL
Howard Chu [Tue, 8 May 2007 14:17:21 +0000 (14:17 +0000)]
coverity scan, e is non-NULL

17 years agocoverity error, u->lud_scheme is mandatory
Howard Chu [Tue, 8 May 2007 14:13:18 +0000 (14:13 +0000)]
coverity error, u->lud_scheme is mandatory

17 years agocoverity scan, fix typo
Howard Chu [Tue, 8 May 2007 14:07:52 +0000 (14:07 +0000)]
coverity scan, fix typo

17 years agocoverity error, memory leak in file2anlist
Howard Chu [Tue, 8 May 2007 14:04:23 +0000 (14:04 +0000)]
coverity error, memory leak in file2anlist

17 years agocoverity scan, ch_realloc won't return NULL
Howard Chu [Tue, 8 May 2007 14:01:16 +0000 (14:01 +0000)]
coverity scan, ch_realloc won't return NULL