mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-02 23:35:23 +00:00
[master] Corrected static analysis issue in common/execute.c
Merged in rt40374.
This commit is contained in:
@@ -441,11 +441,11 @@ int execute_statements (result, packet, lease, client_state,
|
||||
next_let:
|
||||
if (ns) {
|
||||
binding = dmalloc(sizeof(*binding), MDL);
|
||||
memset(binding, 0, sizeof(*binding));
|
||||
if (!binding) {
|
||||
blb:
|
||||
binding_scope_dereference(&ns, MDL);
|
||||
} else {
|
||||
memset(binding, 0, sizeof(*binding));
|
||||
binding->name =
|
||||
dmalloc(strlen
|
||||
(e->data.let.name + 1),
|
||||
|
Reference in New Issue
Block a user