Bug #1446 segfault in mysql_get_server_version (embedded)
Submitted: 30 Sep 2003 10:42 Modified: 4 Oct 2003 6:56
Reporter: Georg Richter Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Embedded Library ( libmysqld ) Severity:S3 (Non-critical)
Version:4.1.1 OS:
Assigned to: Alexey Botchkov CPU Architecture:Any

[30 Sep 2003 10:42] Georg Richter
Description:
mysql_get_server_version segfaults in embedded library. 
 
Backtrace: 
(gdb) bt 
#0  0x4012a8d7 in __strtoul_internal () from /lib/libc.so.6 
#1  0x08053964 in mysql_get_server_version (mysql=0x4003020c) at /usr/include/stdlib.h:323 
#2  0x0804b436 in main () at test.c:34 
#3  0x401128ae in __libc_start_main () from /lib/libc.so.6 

How to repeat:
... 
printf("%s\n", mysql_get_server_version(mysql));
[4 Oct 2003 6:56] Alexey Botchkov
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

changeset 1.1606