Module Name: src Committed By: christos Date: Wed Feb 12 22:17:27 UTC 2025
Modified Files: src/external/mpl/dhcp/dist/server: mdb6.c Log Message: Fix 2 bugs when cleaning old leases: 1. in cleanup_old_expired() call iasubopt_dereference() if the subopt did not have an ia. If it did, then we would have already taken acre of it. 2. in ia_remove_iasubopt() call ia_dereference() before calling iasubopt_dereference(), otherwise we might be touching free'd memory if the iasubopt had only one reference and got freed. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/external/mpl/dhcp/dist/server/mdb6.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.