8632731 Bug 603942 - null deref in _ger_parse_control() for subjectdn

Authored and Committed by rmeggins 13 years ago
    Bug 603942 - null deref in _ger_parse_control() for subjectdn
    
    https://bugzilla.redhat.com/show_bug.cgi?id=603942
    Resolves: bug 603942
    Bug Description:  null deref in _ger_parse_control() for subjectdn
    Reviewed by: nkinder (Thanks!)
    Branch: HEAD
    Fix Description: Needed to pass &orig to ber_scanf 'a' instead of orig.  Also,check for NULL before doing strlen(orig).
    Platforms tested: RHEL5 x86_64
    Flag Day: no
    Doc impact: no
    (cherry picked from commit 82625ebf670c0f234e8bcbf18420e84b325e359e)