mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 14:25:41 +00:00
[master]
[rt23833] Clean up a number of items identified by the Coverity static analysis tool. Runs courtesy of Red Hat.
This commit is contained in:
@@ -1988,7 +1988,7 @@ find_subclass_in_ldap (struct class *class, struct class **newclass,
|
||||
return (0);
|
||||
}
|
||||
memset ((*newclass)->billed_leases, 0,
|
||||
((*newclass)->lease_limit * sizeof (*newclass)->billed_leases));
|
||||
((*newclass)->lease_limit * sizeof (struct lease *)));
|
||||
}
|
||||
|
||||
data_string_copy (&(*newclass)->hash_string, data, MDL);
|
||||
|
Reference in New Issue
Block a user