Fix imap_quote_string() length check errors.
The function wasn't properly checking for dlen<2 before quoting, and wasn't properly pre-adjusting dlen to include the initial quote. Thanks to Jeriko One for reporting these issues.
Please register or sign in to comment