diff options
author | Kirill Smelkov <kirr@landau.phys.spbu.ru> | 2010-10-02 17:43:50 +0400 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-10-02 22:53:27 +0200 |
commit | ab37c48e57a16f69c6b926dbed6d4c1a50bb3fb9 (patch) | |
tree | 4a264cd560d584735ab27c8a3a8c8711e8c2147e /testprogs | |
parent | bdd6bef5dd839ca6fb2d610b84098d2026bb6db1 (diff) | |
download | samba-ab37c48e57a16f69c6b926dbed6d4c1a50bb3fb9.tar.gz samba-ab37c48e57a16f69c6b926dbed6d4c1a50bb3fb9.tar.bz2 samba-ab37c48e57a16f69c6b926dbed6d4c1a50bb3fb9.zip |
pytdb: Check errors after PyObject_New() calls
The call could fail with e.g. MemoryError, and we'll dereference NULL
pointer without checking.
Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'testprogs')
0 files changed, 0 insertions, 0 deletions