]> git.puffer.fish Git - mirror/frr.git/commit
lib: Update hash.h documentation to warn of a possible crash 10161/head
authorDonald Sharp <sharpd@nvidia.com>
Wed, 1 Dec 2021 22:03:38 +0000 (17:03 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 4 Feb 2022 17:15:27 +0000 (12:15 -0500)
commit341743ac5b2a11fe27416a2b34cc470f36ea4d17
tree414ae80712f2af537aef5d0af0b99fd79166c1fa
parent07b9ebca65832813cc00722401f282a51a11ac17
lib: Update hash.h documentation to warn of a possible crash

Multiple deletions from the hash_walk or hash_iteration calls
during a single invocation of the passed in function can and
will cause the program to crash.  Warn against doing such a
thing.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
lib/hash.h