librpc/ndr: make sure ndr_table_list() always calls ndr_init_table() first.
authorGünther Deschner <gd@samba.org>
Thu, 8 Aug 2013 15:34:56 +0000 (17:34 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 20 Sep 2013 11:07:01 +0000 (13:07 +0200)
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
librpc/ndr/ndr_table.c

index 01d909436fe5134c162741bacc99594920025677..f73b9fcaf54c7b5387c039a8ddaca8525baf9688 100644 (file)
@@ -116,6 +116,7 @@ const struct ndr_interface_table *ndr_table_by_uuid(const struct GUID *uuid)
 */
 const struct ndr_interface_list *ndr_table_list(void)
 {
+       ndr_table_init();
        return ndr_interfaces;
 }