]> granicus.if.org Git - php/commit
Fixed bug #79011
authorNikita Popov <nikita.ppv@gmail.com>
Fri, 24 Jan 2020 13:52:28 +0000 (14:52 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 24 Jan 2020 13:54:46 +0000 (14:54 +0100)
commitbb5cdd9b7469b37ceef0627100a415ead68f0030
tree59a088894fec351ba11d7bedc1f3477f65ea6745
parent555567468a06c31c7d962c827edc8c2a7f5fc455
Fixed bug #79011

auth_plugin_data_len here is 21, including the trailing null byte.
Directly use SCRAMBLE_LENGTH instead. Also add a sanity check that
the provided scramble is long enough.
NEWS
ext/mysqlnd/mysqlnd_auth.c