s4-python: PyErr_SetString() will crash on NULL strings
authorAndrew Tridgell <tridge@samba.org>
Mon, 19 Apr 2010 03:43:53 +0000 (13:43 +1000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 19 Apr 2010 06:34:14 +0000 (16:34 +1000)
commite6cbbd9640e0e79653820e6cd5ea7b30c2e0f6bd
treeca2f289c30467ae3148bec40a8014bcc495166bd
parent93f4f7a0375b95540d7f701c295b88ed9c6322d8
s4-python: PyErr_SetString() will crash on NULL strings

use nt_errstr() when no error available
source4/auth/credentials/pycredentials.c
source4/libnet/py_net.c