fixed a stack overflow bug in api_lsa_req_chal()