Skip to content

Commit

Permalink
okay should fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
scottburkee committed Nov 25, 2013
1 parent b13f52b commit 7523cc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/mysql.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,13 +366,13 @@ char *db_mysql_hidepass(char *sql)
buf = strstr(sql, "MD5");
if (!buf)
{
return sql;
return sstrdup(sql);
}

buf = strstr(buf, ", ('");
if (!buf)
{
return sql;
return sstrdup(sql);
}

slen = strlen(sql);
Expand Down
2 changes: 1 addition & 1 deletion version.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ VERSION_MAJOR="1"
VERSION_MINOR="5"
VERSION_PATCH="0"
VERSION_EXTRA=""
VERSION_BUILD="754"
VERSION_BUILD="755"

0 comments on commit 7523cc2

Please sign in to comment.