bsddb buffer overflow

lg at rgz.ru lg at rgz.ru
Fri Oct 27 12:46:40 EDT 2000


Andrew Kuchling <akuchlin at mems-exchange.org> wrote:
> The return value of malloc() isn't checked, so if it's NULL, the
> module will blithely attempts to memcpy() to NULL.  Perhaps you're
> really running out of memory, or perhaps krec.size is some bogusly
> large value.  Your best course is probably to use your debugger some
> more, and step through the bsddb_keys() function to see what's
> happening. 
I test to open this db on clear C and it's works perfect without
any problems.
and all operations that in bsddb.keys() works too.

you can get some.db on http://python.rgz.ru/some.db
i must go.

-- 
zev



More information about the Python-list mailing list