diff options
author | Christophe Jaillet <jailletc36@apache.org> | 2012-12-14 22:40:38 +0000 |
---|---|---|
committer | Christophe Jaillet <jailletc36@apache.org> | 2012-12-14 22:40:38 +0000 |
commit | eca56ae3261d6952f4c4d67873d5629dbfcf40c2 (patch) | |
tree | 4103099d0b3b8439d9d2f52f67733009a87a984f /support/httxt2dbm.c | |
parent | ff81e58f05e0c10ac26a74cbf2cfe4e855c3a0c6 (diff) | |
download | httpd-eca56ae3261d6952f4c4d67873d5629dbfcf40c2.tar.gz |
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
Diffstat (limited to 'support/httxt2dbm.c')
-rw-r--r-- | support/httxt2dbm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/httxt2dbm.c b/support/httxt2dbm.c index 8792f944b9..12606c3a5e 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, |