ldb: Properly handle NULL when copying attr lists.
authorAndrew Kroeger <andrew@id10ts.net>
Tue, 23 Jun 2009 12:26:17 +0000 (07:26 -0500)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 29 Jun 2009 03:40:08 +0000 (13:40 +1000)
commit994506ae2eb7e8e7eb0463fb87b261eaecb04010
tree182908f09c4df38cc9ed7acf14e1a7f05605c485
parent2d9b51c2a871ede1677dcf8cbf255429de431346
ldb: Properly handle NULL when copying attr lists.

When copying an attribute list, ensure the list itself is not NULL before
attempting to access elements of the list.
source4/lib/ldb/common/ldb_msg.c