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 Fri, 03 Aug 2007 21:18:07 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 davi@apache.org  2007-08-03 14:18 -------
(In reply to comment #3)
> Please note that it is in the GDBM source code that dsize does not get set,
> and that it is with GDBM that we have been experiencing problems.

Ok, somehow I saw sdbm, sorry.

> So a patch would be needed for apr_db_gdbm.c and its RETURN_DATUM macro
> (please see my initial message).

Now I see. But your patch is wrong because the stored data doesn't
have to be nul terminated, or it may have nuls in any position.

> Even though you may have spotted a bug in the SDBM code at the same time. :-)

Yes, it seems so.

-- 
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