s4-libnet: Move to talloc_get_type_abort()
authorAndrew Bartlett <abartlet@samba.org>
Thu, 1 Mar 2012 10:02:24 +0000 (21:02 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 1 Mar 2012 11:04:46 +0000 (22:04 +1100)
commit1a5eafba13fa54dd44626625886d1e7a4adf5a2c
tree059475a5a256c39ada318e28cc305536f4da78d7
parent31bf81a03c222f8c42996aebb127a31d23dc799e
s4-libnet: Move to talloc_get_type_abort()

The NULL pointer dereference from talloc_get_type() might be free, but the
information on the actual and expected types from talloc_get_type_abort()
is priceless! :-)

Andrew Bartlett
source4/libnet/libnet_domain.c
source4/libnet/libnet_group.c
source4/libnet/libnet_user.c
source4/libnet/userinfo.c