-
- Downloads
restructure kadmin.c to correctly handle errors and avoid memory leaks
cleanup errors on kadmin object new error model for principal objects remove remaining instances of old error handling. restore direct error numbers (lower errno values are possible); cleanup memory leaks track internal lock state; only unlock on dealloc if lock is held. krb5_init leaks memory - same result running kadmin.local: unsupported command when resolving the client_name from a credential cache we are responsible for freeing allocated memory valgrind supp file for python leaks. restructure assignment so no memory is allocated until argumets are parsed.
Showing
- PyKAdminErrors.c 75 additions, 107 deletionsPyKAdminErrors.c
- PyKAdminErrors.h 5 additions, 7 deletionsPyKAdminErrors.h
- PyKAdminIterator.c 16 additions, 14 deletionsPyKAdminIterator.c
- PyKAdminObject.c 100 additions, 23 deletionsPyKAdminObject.c
- PyKAdminObject.h 2 additions, 0 deletionsPyKAdminObject.h
- PyKAdminPrincipalObject.c 79 additions, 38 deletionsPyKAdminPrincipalObject.c
- kadmin.c 130 additions, 46 deletionskadmin.c
- pykadmin.h 4 additions, 0 deletionspykadmin.h
- test/bootstrap_kdb.py 1 addition, 1 deletiontest/bootstrap_kdb.py
- test/krb5.supp 10 additions, 0 deletionstest/krb5.supp
- test/unittests.py 35 additions, 7 deletionstest/unittests.py
- test/valgrind-python-leaks.supp 193 additions, 0 deletionstest/valgrind-python-leaks.supp
Loading
Please register or sign in to comment