bsddb buffer overflow

lg at rgz.ru lg at rgz.ru
Fri Oct 27 08:53:52 EDT 2000


It seems to be bsddb.keys() function of bsddb module
is buffer overflowable.

on FreeBSD 4.0-RELEASE i've got

[16:38][lg at ns][/]# python                                                  [p6]
Python 2.0 (#8, Oct 18 2000, 16:49:14) 
[GCC 2.95.2 19991024 (release)] on freebsd4
Type "copyright", "credits" or "license" for more information.
>>> import bsddb
>>> a = bsddb.hashopen('some.db', 'c', 0664)
>>> a.keys()
zsh: bus error (core dumped)  python
[16:39][lg at ns][/]#                                                         [p6]


-- 
zev



More information about the Python-list mailing list