]> git.kaiwu.me - nginx.git/commit
Mail: fixed type overflow in IMAP literal length parser.
authorSergey Kandaurov <pluknet@nginx.com>
Fri, 27 Feb 2026 17:46:04 +0000 (21:46 +0400)
committerSergey Kandaurov <s.kandaurov@f5.com>
Wed, 4 Mar 2026 08:08:09 +0000 (12:08 +0400)
commitdff46cd1ae0095922e7eb9cf5b32ebe1e68a5706
treefe916c352397fc27ac9c801cd7222caea0da8fa8
parentaa65a60fc7bcef4152152cf5a4e87f04cad54368
Mail: fixed type overflow in IMAP literal length parser.

The overflow is safe, because the maximum length of literals
is limited with the "imap_client_buffer" directive.

Reported by BartÅ‚omiej Dmitruk.
src/mail/ngx_mail_parse.c