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:
@@ -3,7 +3,8 @@
|
||||
Handling for client classes. */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2004,2007,2009 by Internet Systems Consortium, Inc. ("ISC")
|
||||
* Copyright (c) 2009,2012 by Internet Systems Consortium, Inc. ("ISC")
|
||||
* Copyright (c) 2004,2007 by Internet Systems Consortium, Inc. ("ISC")
|
||||
* Copyright (c) 1998-2003 by Internet Software Consortium
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
@@ -185,7 +186,7 @@ int check_collection (packet, lease, collection)
|
||||
}
|
||||
memset (nc -> billed_leases, 0,
|
||||
(nc -> lease_limit *
|
||||
sizeof nc -> billed_leases));
|
||||
sizeof (struct lease *)));
|
||||
}
|
||||
data_string_copy (&nc -> hash_string, &data,
|
||||
MDL);
|
||||
|
Reference in New Issue
Block a user