aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/adduser/(public-mirror)
diff options
context:
space:
mode:
authorDoug Moore <dougm@FreeBSD.org>2025-07-10 08:14:07 +0000
committerDoug Moore <dougm@FreeBSD.org>2025-07-10 08:14:07 +0000
commit8adb3acb63ee8e7c20c3da497a9640c481bc7612 (patch)
treec5b5b9e2209cd08f18f4dc48f97add0c4dd74178 /usr.sbin/adduser/(public-mirror)
parent78935fa40eee14aab1c6de676a1017bcabdf5fa1 (diff)
pctrie: leave iter at root after ge_lookup failureHEADmain
If pctrie_lookup_iter_ge fails to return a node, the iterator is left with NULL as the current node. Instead, make the pctrie_root the current node when the pctrie has an internalnode. Do the same thing for lookup_iter_le. If an iterator is reused after a ge/le lookup fails, this will skip the step in _pctrie_lookup_node where a NULL is replaced by the node at the top of the trie. Reviewed by: alc Differential Revision: https://reviews.freebsd.org/D51232
Diffstat (limited to 'usr.sbin/adduser/(public-mirror)')
0 files changed, 0 insertions, 0 deletions