mirror of
https://github.com/samba-team/samba.git
synced 2025-12-12 12:23:50 +03:00
r22811: two more memory allocation checks.
rafal
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
44eacd8654
commit
d66b13f6fa
@@ -74,6 +74,8 @@ struct composite_context *libnet_Lookup_send(struct libnet_context *ctx,
|
||||
|
||||
/* parameters */
|
||||
s->hostname.name = talloc_strdup(s, io->in.hostname);
|
||||
if (composite_nomem(s->hostname.name, c)) return c;
|
||||
|
||||
s->hostname.type = io->in.type;
|
||||
s->hostname.scope = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user