[ZODB-Dev] [BTrees] potential bug in "_bucket__p_resolveConflict"

Dieter Maurer dieter at handshake.de
Wed Mar 24 04:33:27 EST 2004


This report is for the ZODB version included in Zope 2.7.0.

I just got a SIGSEGV from "BTrees/BucketTemplate.c:1281".

The code there is "Py_DECREF(r);" "r" is "NULL", because
the "s" parameter passed to "_bucket__p_resolveConflict"
contains 3 "None" objects.

Almost surely, the "Py_DECREF" should be a "Py_XDECREF".

-- 
Dieter



More information about the ZODB-Dev mailing list