[openssl-project] Removal of NULL checks

Paul Dale paul.dale at oracle.com
Thu Aug 9 21:23:07 UTC 2018

Rich wrote:
> Real code often doesn't check return values.  Even ours. :(

Could we consider adding a lot more __owur tags to functions to encourage this?

As an API change it would have to wait for a major release.

Dr Paul Dale | Cryptographer | Network Security & Encryption 
Phone +61 7 3031 7217
Oracle Australia

-----Original Message-----
From: Salz, Rich [mailto:rsalz at akamai.com] 
Sent: Thursday, 9 August 2018 11:49 PM
To: openssl-project at openssl.org
Subject: Re: [openssl-project] Removal of NULL checks

>    it's NULL. Now imagine that this stack was some kind of deny list. If
>    entry producer didn't pay attention to error when creating stack and
>    putting things into it, consumer would be led to belief that there is
>    nothing to deny and let through the requests that are supposed to be
>    denied.

This is another reason why I am opposed to NULL checks.

>    Oh! Triggering factor was quite a number of unchecked pushes in apps.

Real code often doesn't check return values.  Even ours. :(

openssl-project mailing list
openssl-project at openssl.org

More information about the openssl-project mailing list