]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Certificate stack: Remove bogus x509stack_cancel()
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Mon, 11 Oct 2021 21:22:08 +0000 (16:22 -0500)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Mon, 11 Oct 2021 21:22:08 +0000 (16:22 -0500)
commit5a5a657bcafeba1c44cfd249883e0a619cb64887
tree54afade85af772b809818089d1513ce28e7e36b1
parent189e398bbc9f5d41a854c179ec152a7903067b33
Certificate stack: Remove bogus x509stack_cancel()

It seems the #58 and #59 problem is a stray defer separator pop.

The comment above x509stack_cancel() clearly states that the function
should only be called shortly after a x509stack_push(), but there's one
in certificate_traverse() that isn't.

Removing this x509stack_cancel() seems to prevent the crash. I'm still
investigating the original intent of this code.

Tentatively f1xes #58 and #59.
src/object/certificate.c