Re: [Maria-developers] 9ec0b36ee8b: MDEV-28838 password_reuse_check plugin mixes username and password

4 Jul
2022
4 Jul
'22
6:57 p.m.
Hi, Oleksandr, On Jul 04, Oleksandr Byelkin wrote:
why? let's use the standard length,string format, why risk inventing something unusual here for no benefits at all? I'd do like: static char *store_str(char *to, MYSQL_CONST_LEX_STRING from) { int2store(to, from.length); memcpy(to+2, from.str, from.length); return to+2+from.length; } and buff= store_str(buff, hostname); buff= store_str(buff, username); buff= store_str(buff, password);
^^^ this should be 0x0101 (or 0x0200 as I suggest below)
make it 2.0 please, this is an incompatible change
Regards, Sergei VP of MariaDB Server Engineering and security@mariadb.org
1038
Age (days ago)
1038
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sergei Golubchik