[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNUTLS_ASSERT macro
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: GNUTLS_ASSERT macro |
Date: |
Sat, 27 Nov 2010 19:55:00 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10 |
On 11/26/2010 06:25 PM, Jeffrey Walton wrote:
>>> GnuTLS should probably honor the intent of standard assert() and
>>> provide equivalent behavior: if NDEBUG is defined, asserts are not
>>> compiled into the program code. Otherwise, asserts are compiled into
>>> the program code [1].
>> No. The original assert() is very dangerous,
> How so?
Production code is less safe than testing code.
regards,
Nikos