ref: 469438f4dfe9f97ab7d7a59c3e9c80b99ef4be7f
parent: d09e6e509b73961bbed6bdde5b718acdbdecd13d
author: Ori Bernstein <ori@eigenstate.org>
date: Mon Apr 21 21:44:43 EDT 2025
libsec: add recursion limit for x509 structures We used to allow unbounded recursion for X509 certs, which could lead to a stack overflow and crash for invalid certs; this adds a recursion limit to avoid things blowing up.