Bug #44698 | segfault in mysql_config bundled with Connector/C | ||
---|---|---|---|
Submitted: | 6 May 2009 15:33 | Modified: | 30 Jul 2009 12:25 |
Reporter: | Andrew Hutchings | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / C | Severity: | S3 (Non-critical) |
Version: | 6.0.1 | OS: | Linux |
Assigned to: | CPU Architecture: | Any |
[6 May 2009 15:33]
Andrew Hutchings
[6 May 2009 15:34]
Andrew Hutchings
Garbage output from command
Attachment: out.txt (text/plain), 48.00 KiB.
[25 Jun 2009 19:03]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/77244 2858 Jim Winstead 2009-06-25 my_print_help() could go into a tailspin when any of the text being printed was longer than the width for help text. (Bug #44698)
[28 Jul 2009 19:21]
Jim Winstead
Fix pushed, will be in C/C 6.0.2.
[30 Jul 2009 12:25]
Tony Bedford
An entry has been added to the 6.0.2 changelog: The mysql_config program bundled with MySQL Connector/C generated a segmentation fault when run: Program received signal SIGSEGV, Segmentation fault. 0x000000000040ef11 in my_print_help (options=0x651900) at /media/External/Programming/Sources/mysql-connector-c-6.0.1/mysys/my_getopt.c:1163 1163 putchar(*comment); (gdb) bt #0 0x000000000040ef11 in my_print_help (options=0x651900) at /media/External/Programming/Sources/mysql-connector-c-6.0.1/mysys/my_getopt.c:1163 #1 0x000000000040cbde in usage () at /media/External/Programming/Sources/mysql-connector-c-6.0.1/mysql_config/mysql_config.c:60 #2 0x000000000040cc70 in main (ac=1, av=0x7fffffffe3d8) at /media/External/Programming/Sources/mysql-connector-c-6.0.1/mysql_config/mysql_config.c:95