Ignore:
Timestamp:
Jul 2, 2011, 3:35:33 PM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba 3.5: Update trunk to 3.5.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/libcli/nbt/nbtname.c

    r414 r596  
    8383                                              "BAD NBT NAME component");
    8484                }
    85                 *component = (uint8_t*)talloc_strndup(ndr, (const char *)&ndr->data[1 + *offset], len);
     85                *component = (uint8_t*)talloc_strndup(
     86                        ndr->current_mem_ctx,
     87                        (const char *)&ndr->data[1 + *offset], len);
    8688                NDR_ERR_HAVE_NO_MEMORY(*component);
    8789                *offset += len + 1;
     
    127129        }
    128130        if (num_components == 0) {
    129                 name = talloc_strdup(ndr, "");
     131                name = talloc_strdup(ndr->current_mem_ctx, "");
    130132                NDR_ERR_HAVE_NO_MEMORY(name);
    131133        }
Note: See TracChangeset for help on using the changeset viewer.