Leases based on MAC addresses
David W. Hankins
David_Hankins at isc.org
Mon Feb 16 22:39:16 UTC 2009
On Mon, Feb 16, 2009 at 01:04:37PM -0700, Elliot Finley wrote:
> tuid = (unsigned char *)dmalloc (lt -> uid_max, MDL);
> if (!tuid)
> log_fatal ("no memory for large uid.");
> memcpy (tuid, d1.data, lt -> uid_len);
> ! //EOFlt -> uid = tuid;
That's a memory leak.
David W. Hankins "If you don't do it right the first time,
Software Engineer you'll just have to do it again."
Internet Systems Consortium, Inc. -- Jack T. Hankins
More information about the dhcp-users