[pybsddb] Patch: crash due to heap corruption

Jesus Cea jcea at argo.es
Thu Aug 7 16:48:44 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Duncan Grisby wrote:
| With monumental bad timing given the release of 4.7.2, I have a patch
| against 4.7.1 that fixes three issues.

Bad timing, indeed :-). I have 4.7.3 planned for mid-september. With
Python 3.0 support, I hope :)

| The first, most important one, is a bug in DB_remove that corrupts the
| linked list of open DBs, leading to heap corruption and a crash on
| shutdown.

Good catch. Thanks.

[...]
| Is this patch ok or do I need to raise bugs for these?

The patch is good enough. I've applied it by hand, since 4.7.2 code has
changed a lot. Please in the future, *if you can*, try to send a
separate patch for each issue.

Your contribution is merged in my SVN, revision 558. It will be
available in 4.7.3. Can you review it?.

Thanks a lot for your efford.

- --
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
.                              _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBSJsLQ5lgi5GaxT1NAQKkBAQAoPwSfAOJplj6WFooGm7nWBb3ah/rfFaf
yC/3eUNNpXuOIOe0zHxKsu41rI49olU2ZLWz0R4d145yY+GjfN7G04k5z8y2RSQV
hC9kh4/HhkAaGY7eOzPh6k4b3ZhxuW5zSODy3GVFHoSXtTn7C5l1S9m2zIWO7Njj
opREuKbOD8U=
=ZwyI
-----END PGP SIGNATURE-----



More information about the pybsddb mailing list