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
|
Consortium. This product includes cryptographic software written
|
||||||
by Eric Young (eay@cryptsoft.com).
|
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
|
- None
|
||||||
|
|
||||||
Changes since 4.3.2
|
Changes since 4.3.2
|
||||||
|
@ -441,11 +441,11 @@ int execute_statements (result, packet, lease, client_state,
|
|||||||
next_let:
|
next_let:
|
||||||
if (ns) {
|
if (ns) {
|
||||||
binding = dmalloc(sizeof(*binding), MDL);
|
binding = dmalloc(sizeof(*binding), MDL);
|
||||||
memset(binding, 0, sizeof(*binding));
|
|
||||||
if (!binding) {
|
if (!binding) {
|
||||||
blb:
|
blb:
|
||||||
binding_scope_dereference(&ns, MDL);
|
binding_scope_dereference(&ns, MDL);
|
||||||
} else {
|
} else {
|
||||||
|
memset(binding, 0, sizeof(*binding));
|
||||||
binding->name =
|
binding->name =
|
||||||
dmalloc(strlen
|
dmalloc(strlen
|
||||||
(e->data.let.name + 1),
|
(e->data.let.name + 1),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user