Bug #3586 UDF error handling causes access violation

Submitted: 28 Apr 2004 11:57 Modified: 28 Apr 2004 16:22
Reporter: Manuel Matonin Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S1 (Critical)
Version: OS:
Assigned to: Sergei Golubchik CPU Architecture:Any

[28 Apr 2004 11:57] Manuel Matonin
Description:
In function bool udf_handler::fix_fields there is a small bug when an error occurs in UDF initializing:

The paramter u_d->name is missing its member value called "str"!
my_printf_error(ER_CANT_INITIALIZE_UDF,ER(ER_CANT_INITIALIZE_UDF),MYF(0),u_d->name,thd->net.last_error); 

How to repeat:
Just change u_d->name to u_d->name.str
[28 Apr 2004 16:22] Sergei Golubchik
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Additional info:

please, specify the version next time.
I assume you are writing about 4.1.1 or 4.1.0 ?
It's fixed in source tree already, will be in 4.1.2 release.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.