mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-22 18:07:25 +00:00
[master] Corrected static analysis issue in common/execute.c
Merged in rt40374.
This commit is contained in:
parent
5222080182
commit
7da1ac2bc6
6
RELNOTES
6
RELNOTES
@ -52,8 +52,12 @@ ISC DHCP is open source software maintained by Internet Systems
|
||||
Consortium. This product includes cryptographic software written
|
||||
by Eric Young (eay@cryptsoft.com).
|
||||
|
||||
Changes since 4.3.3b1
|
||||
Changes since 4.3.3
|
||||
|
||||
- Corrected a static analyzer warning in common/execute.c
|
||||
[ISC-Bugs #40374]
|
||||
|
||||
Changes since 4.3.3b1
|
||||
- None
|
||||
|
||||
Changes since 4.3.2
|
||||
|
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user