From: Christophe Jaillet Date: Fri, 14 Dec 2012 22:40:38 +0000 (+0000) Subject: httxt2dbm: Correct length computation for the 'value' stored in the DBM file PR... X-Git-Tag: 2.5.0-alpha~6001 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eca56ae3261d6952f4c4d67873d5629dbfcf40c2;p=thirdparty%2Fapache%2Fhttpd.git httxt2dbm: Correct length computation for the 'value' stored in the DBM file PR 47650 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422135 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 477bd393de6..c6759cb329c 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,9 @@ -*- coding: utf-8 -*- Changes with Apache 2.5.0 + *) httxt2dbm: Correct length computation for the 'value' stored in the DBM file + PR 47650 [jon buckybox com] + *) mod_ssl: Add support for OpenSSL configuration commands [Stephen Henson] *) EventOpt MPM diff --git a/support/httxt2dbm.c b/support/httxt2dbm.c index 8792f944b9d..12606c3a5eb 100644 --- a/support/httxt2dbm.c +++ b/support/httxt2dbm.c @@ -154,7 +154,7 @@ static apr_status_t to_dbm(apr_dbm_t *dbm, apr_file_t *fp, apr_pool_t *pool) } dbmval.dptr = apr_pstrmemdup(p, value, c - value); - dbmval.dsize = (c - line); + dbmval.dsize = (c - value); if (verbose) { apr_file_printf(errfile, " '%s' -> '%s'"NL,