Viktor Dukhovni
unread,2:23 PM (6 hours ago) 2:23 PMSign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openss...@openssl.org
On Fri, Apr 10, 2026 at 08:14:32PM +0300, Dan Carpenter wrote:
> Commit 5b2d996f9145 ("Implement seed/key preference when decoding")
> from Jan 28, 2025 (linux-next), leads to the following Smatch static
> checker warning:
>
> providers/implementations/encode_decode/ml_kem_codecs.c:423 ossl_ml_kem_i2d_pubkey()
> error: we previously assumed 'out' could be null (see line 420)
In fact the internall caller must and never does pass NULL, the check is
redundant. The check can be dropped.
--
Viktor. 🇺🇦 Слава Україні!