]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-ntlm: Check buffer length on responses
authorAki Tuomi <aki.tuomi@open-xchange.com>
Mon, 18 May 2020 09:33:39 +0000 (12:33 +0300)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Mon, 25 May 2020 11:28:09 +0000 (14:28 +0300)
commit1c6405d3026e5ceae3d214d63945bba85251af4c
tree8d1febf1a185c364772876c4120a248a9aaf19eb
parentbd9d2fe7da833f0e4705a8280efc56930371806b
lib-ntlm: Check buffer length on responses

Add missing check for buffer length.

If this is not checked, it is possible to send message which
causes read past buffer bug.

Broken in c7480644202e5451fbed448508ea29a25cffc99c
src/lib-ntlm/ntlm-message.c