Bug #1258 Mysqlbinlog crashes

Submitted: 11 Sep 2003 22:15 Modified: 12 Sep 2003 6:57
Reporter: Srinivasulu P Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S2 (Serious)
Version:4.0.16 OS:Linux (Linux.)
Assigned to: Guilhem Bichot CPU Architecture:Any

[11 Sep 2003 22:15] Srinivasulu P
Description:
Trying to use the mysqlbinlog with -h and -u option gives segmentation fault

How to repeat:
mysqlbinlog -h hostname -u root bin-log-file.001 gives segmentation fault.
[12 Sep 2003 6:57] Guilhem Bichot
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.1565.1.1, 2003-09-12 15:48:48+02:00, guilhem@mysql.com
Patch:
--- 1.80/client/mysqlbinlog.cc  Tue Aug 19 15:46:41 2003
+++ 1.81/client/mysqlbinlog.cc  Fri Sep 12 15:48:43 2003
@@ -49,10 +49,10 @@
 static const char* database;
 static bool short_form = 0;
 static ulonglong offset = 0;
-static const char* host = "localhost";
+static const char* host = 0;
 static int port = MYSQL_PORT;
 static const char* sock= MYSQL_UNIX_ADDR;
-static const char* user = "test";
+static const char* user = 0;
 static const char* pass = "";
 static ulonglong position = 0;
 static bool use_remote = 0;

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

Page generated in 0.048 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.