add a null ptr check to ldap_search_ext_s
add a null ptr check to ldap_search_ext_s

in some condition difficult to reproduce this function seems to return a
null message that makes the call to ldapParseResult crash

ezyang/ldap-haskell