]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Prevent crash on malformed Key Usage
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Tue, 6 Aug 2024 16:29:16 +0000 (10:29 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Tue, 6 Aug 2024 16:29:16 +0000 (10:29 -0600)
commit939d988551d17996be73f52c376a70a3d6ba69f9
treebf83e9149f90a16503b99b031ce2f19795aa2d80
parent5689dea5e878fed28c5f338a27d7cda4151a14f1
Prevent crash on malformed Key Usage

Key Usage bit strings longer than 2 bytes were inducing buffer overflow.

Thanks to Niklas Vogel for reporting this.
src/object/certificate.c