diff options
-rw-r--r-- | source3/libcli/nbt/nbtname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libcli/nbt/nbtname.c b/source3/libcli/nbt/nbtname.c index 5aff15bb45..2025ef70e7 100644 --- a/source3/libcli/nbt/nbtname.c +++ b/source3/libcli/nbt/nbtname.c @@ -110,7 +110,7 @@ _PUBLIC_ enum ndr_err_code ndr_pull_nbt_string(struct ndr_pull *ndr, int ndr_fla /* break up name into a list of components */ for (num_components=0;num_components<MAX_COMPONENTS;num_components++) { - uint8_t *component; + uint8_t *component = NULL; NDR_CHECK(ndr_pull_component(ndr, &component, &offset, &max_offset)); if (component == NULL) break; if (name) { |