<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/_bsddb.c, branch v2.4.4</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/_bsddb.c?h=v2.4.4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/_bsddb.c?h=v2.4.4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-10-05T18:49:36Z</updated>
<entry>
<title>[Backport r50783 | neal.norwitz.  The bytes_left code is complicated,</title>
<updated>2006-10-05T18:49:36Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-05T18:49:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=da604c19923ef1fd365a0ace5bb8c6e0bbe763ce'/>
<id>urn:sha1:da604c19923ef1fd365a0ace5bb8c6e0bbe763ce</id>
<content type='text'>
 but looks correct on a casual inspection and hasn't been modified
 in the trunk.  Does anyone want to review further?]

Ensure we don't write beyond errText.  I think I got this right, but
it definitely could use some review to ensure I'm not off by one
and there's no possible overflow/wrap-around of bytes_left.
Reported by Klocwork #1.

Fix a problem if there is a failure allocating self-&gt;db.
Found with failmalloc.
</content>
</entry>
<entry>
<title>[Backport r51251 | neal.norwitz]</title>
<updated>2006-10-04T13:14:48Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-04T13:14:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3184f24de6b2b997f4ba951267f98a7cfc7cdc1b'/>
<id>urn:sha1:3184f24de6b2b997f4ba951267f98a7cfc7cdc1b</id>
<content type='text'>
Handle malloc and fopen failures more gracefully.

Klocwork 180-181
</content>
</entry>
<entry>
<title>[Backport rev. 47010 by neal.norwitz]</title>
<updated>2006-10-03T14:07:53Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-03T14:07:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7828783f826c3b9cf2695178a1c8fbb4cf30ecdc'/>
<id>urn:sha1:7828783f826c3b9cf2695178a1c8fbb4cf30ecdc</id>
<content type='text'>
Fix memory leak reported by valgrind while running test_subprocess
</content>
</entry>
<entry>
<title>[Backport of rev. 42093 by neal.norwitz]</title>
<updated>2006-09-27T19:17:32Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-09-27T19:17:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e7031223e36c43ccd47321b3ff8997c1423e2b9c'/>
<id>urn:sha1:e7031223e36c43ccd47321b3ff8997c1423e2b9c</id>
<content type='text'>
Check return result from Py_InitModule*().  This API can fail.

Probably should be backported.
</content>
</entry>
<entry>
<title>fix a bug with bsddb.DB.stat reversing its flags and txn keyword</title>
<updated>2006-09-19T17:23:50Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@mad-scientist.com</email>
</author>
<published>2006-09-19T17:23:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=570c6559921733e6396665295bfb058f90657be5'/>
<id>urn:sha1:570c6559921733e6396665295bfb058f90657be5</id>
<content type='text'>
arguments.  (reported by Louis Zechtzer)
</content>
</entry>
<entry>
<title>- pybsddb Bug #1527939: bsddb module DBEnv dbremove and dbrename</title>
<updated>2006-07-28T03:16:53Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@mad-scientist.com</email>
</author>
<published>2006-07-28T03:16:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0736c53ceac4360152a49c6f08b15c4e0dd64816'/>
<id>urn:sha1:0736c53ceac4360152a49c6f08b15c4e0dd64816</id>
<content type='text'>
  methods now allow their database parameter to be None as the
  sleepycat API allows.

also adds a testcase.

backport of trunk commit 50889 to 2.4.
</content>
</entry>
<entry>
<title>- Bug #1493322: bsddb: the __len__ method of a DB object has been fixed to</title>
<updated>2006-06-06T00:23:21Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@mad-scientist.com</email>
</author>
<published>2006-06-06T00:23:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2e56541d457b7fe19bf17d07848981ee43383197'/>
<id>urn:sha1:2e56541d457b7fe19bf17d07848981ee43383197</id>
<content type='text'>
  return correct results.  It could previously incorrectly return 0 in some
  cases.  Fixes SF bug 1493322 (pybsddb bug 1184012).
</content>
</entry>
<entry>
<title>fix potential use of uninitialized char ** to construct a list if log_archive</title>
<updated>2006-06-05T00:40:31Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@mad-scientist.com</email>
</author>
<published>2006-06-05T00:40:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ee6ca70548f6abf1ea337cd358bf1ace2df0af1a'/>
<id>urn:sha1:ee6ca70548f6abf1ea337cd358bf1ace2df0af1a</id>
<content type='text'>
is called with the (unsupported and unexported in this version) flag DB_ARCH_REMOVE.

also fix a log_list memory leak on error return in the event that python can't create
a new list object.
</content>
</entry>
<entry>
<title>Fix bsddb.db.DBError derived exceptions so they can be unpickled.</title>
<updated>2006-04-08T07:34:08Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@mad-scientist.com</email>
</author>
<published>2006-04-08T07:34:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=44c2fd34b17a4cef3189fca09e5c190fdc0a6688'/>
<id>urn:sha1:44c2fd34b17a4cef3189fca09e5c190fdc0a6688</id>
<content type='text'>
(backport of trunk commit 43729)
</content>
</entry>
<entry>
<title>Backport trunk's r42890 (thomas.wouters):</title>
<updated>2006-03-07T14:16:02Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2006-03-07T14:16:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=82735da0165cc8b0b080d7e28d4123c3168c4cf7'/>
<id>urn:sha1:82735da0165cc8b0b080d7e28d4123c3168c4cf7</id>
<content type='text'>
Coverity found bug: test result of PyTuple_New() against NULL before use.

and r42891 (thomas.wouters):

Fix gcc 4.0.x warning about use of uninitialized value.
</content>
</entry>
</feed>
