[krbdev.mit.edu #7105] SVN Commit 
    Greg Hudson via RT 
    rt-comment at krbdev.mit.edu
       
    Fri Mar  9 13:30:38 EST 2012
    
    
  
Avoid side effects in assert expressions
asserts may be compiled out with -DNDEBUG, so it's wrong to use an
assert expression with an important side effect.
(We also have scores of side-effecting asserts in test programs, but
those are less important and can be dealt with separately.)
http://src.mit.edu/fisheye/changelog/krb5/?cs=25760
Commit By: ghudson
Revision: 25760
Changed Files:
U   trunk/src/lib/apputils/net-server.c
U   trunk/src/lib/crypto/krb/cf2.c
U   trunk/src/util/et/com_err.c
    
    
More information about the krb5-bugs
mailing list