11 Oct
2020
11 Oct
'20
5:41 p.m.
Hi, Oleksandr! On Oct 11, Oleksandr Byelkin wrote:
+ // Pre-check without protection + if (!find_udf_everywhere(thd, udf_name->str, udf_name->length, table))
you cannot check the udf_hash without a lock
I made an attempt of a fast check under read protection (because it looks like old code had pre-check).
As far as I can see, the old code was was using find_udf() that was taking a read lock too. Regards, Sergei VP of MariaDB Server Engineering and security@mariadb.org