14c5cce Bug #361: Bad DNs in ACIs can segfault ns-slapd

1 file Authored by Charles Lopes 11 years ago, Committed by rmeggins 11 years ago,
    Bug #361: Bad DNs in ACIs can segfault ns-slapd
    
    A bad userdn will make the DN normalization fail.  This sets dn to NULL,
    and the server will attempt to access the NULL dn.
    The fix is to just return with an error if the normalization fails since
    the DN is invalid.
    Reviewed by: rmeggins
    (cherry picked from commit 8ba2982457e7d2143ae0c2af212412122592c284)
    (cherry picked from commit 58ec62b04fd3696bd77a0610fb8ede58e9fa64d4)
    (cherry picked from commit e5bdf55e290dffc07bb6b8a97bef67fce90b21c6)