Check NULL pointers or not...

Salz, Rich rsalz at akamai.com
Fri Nov 29 18:06:46 UTC 2019


        if (!ossl_assert(ptr != NULL)) {
            ERR_raise(ERR_LIB_WHATEVER, ERR_R_PASSED_NULL_PARAMETER);
            return 0;
        }

If the project decides to do this, I would like a configure option to ONLY turn on ossl_assert so that previous behavior can be restored without debug code penalties.



More information about the openssl-project mailing list