Message217877
Hi,
Thanks for finding those issues. I attached a new patch.
a) Good find, I added the free() for gdbm. ndbm doesn't need free().
b) Added the error check. I don't know if a test can be made for this. If there was a common way to patch C libraries in CPython, I would give that a try.
Also, do you know if we should check for the gdbm error before the dbm error, or does it not matter?
c) Yes, it looks like NULL is used here instead of 0. Changed 0s to NULLS.
Let me know if you see anything else. |
|
Date |
User |
Action |
Args |
2014-05-04 15:01:48 | eolson | set | recipients:
+ eolson, jafo, jcea, johansen, ysj.ray |
2014-05-04 15:01:48 | eolson | set | messageid: <1399215708.28.0.139988130844.issue2159@psf.upfronthosting.co.za> |
2014-05-04 15:01:48 | eolson | link | issue2159 messages |
2014-05-04 15:01:48 | eolson | create | |
|