Invalidate the right stack[] member
authortb <tb@openbsd.org>
Mon, 17 Jun 2024 18:54:36 +0000 (18:54 +0000)
committertb <tb@openbsd.org>
Mon, 17 Jun 2024 18:54:36 +0000 (18:54 +0000)
commit68dbd0336060e08b09397bfd60f3d8a4e86b9f09
tree12dba01198df0b495c504a348b2e44b170990e74
parentf8e924bcc3f291684189b2e0dd1808925abcfb99
Invalidate the right stack[] member

There was a shift of the index in the for loop, and invalidating the wrong
member could result in a double free in auth_tree_free() on process exit.

ok claudio job
usr.sbin/rpki-client/filemode.c