We received about several issues, we have two things to be fixed among them:
- GCRYPTMPI_FMT_SSH
- gcry_mpi_scan should validate the BUFLEN in case of GCRYPTMPI_FMT_SSH
- Possible OOB read: gcry_sexp_sscan when input is quoted and include CRLF (or LFCR)
- The check with n is wrong, should be n>1
Reported-by: zhangph (afldl)