apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43025] - Size of GDBM value not calculated or stored, potentially yielding excessive memory usage with RewriteMaps
Date Mon, 06 Aug 2007 14:27:30 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43025>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43025





------- Additional Comments From Bjorn.Wiberg@its.uu.se  2007-08-06 07:27 -------
Hi again!

I have done some additional debugging. The cause seems to be a type mismatch
between the dsize fields of the apr_datum_t struct (dsize is an apr_size_t) and
the result_datum_t = (GDBM) datum struct (dsize is an int).

Suggesting changing the RETURN_DATUM macro to:

#define RETURN_DATUM(poutput, rd) ((poutput)->dptr = (rd).dptr, (poutput)->dsize
= (apr_size_t) (rd).dsize)

Will hopefully try that one tomorrow.

Best regards,
Björn

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message