mariadb/client
Shishir Jaiswal bf681d6bb3 Bug #20802751 - SEGMENTATION FAILURE WHEN RUNNING
MYSQLADMIN -U ROOT -P

DESCRIPTION
===========
Crash occurs when no command is given while executing
mysqladmin utility.

ANALYSIS
========
In mask_password() the final write to array 'temp_argv'
is done without checking if corresponding index 'argc'
is valid (non-negative) or not. In case its negative
(would happen when this function is called with 'argc'=0),
it may cause a SEGFAULT. Logically in such a case,
mask_password() should not have been called as it would do
no valid thing.

FIX
===
mask_password() is now called after checking 'argc'. This
function is now called only when 'argc' is positive
otherwise the process terminates
2015-07-08 11:53:54 +05:30
..
client_priv.h Updated/added copyright headers 2013-02-26 06:35:17 +01:00
CMakeLists.txt Bug #20772273 : MYSQLIMPORT --USE-THREADS DOESN'T USE 2015-06-30 10:27:12 +05:30
completion_hash.cc Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 13:29:12 +01:00
completion_hash.h Fix for Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 15:53:48 +01:00
echo.c Fix for Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 15:53:48 +01:00
get_password.c Fix for Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 15:53:48 +01:00
my_readline.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mysql.cc Bug #17297324 GLIBC DOUBLE FREE OR CORRUPTION WHEN KILLING CLIENT; CTRL+C 2014-07-21 11:26:50 +05:30
mysql_plugin.c Updated/added copyright headers 2014-01-06 10:52:35 +05:30
mysql_upgrade.c Bug#14117012 - CHILD PROCESS MYSQL UTILITIES PICKING UP LOCAL 2014-01-31 09:19:12 +05:30
mysqladmin.cc Bug #20802751 - SEGMENTATION FAILURE WHEN RUNNING 2015-07-08 11:53:54 +05:30
mysqlbinlog.cc Bug #18808072 MYSQLBINLOG USES LOCALTIME() TO PRINT EVENTS, CAUSES KERNEL MUTEX CONTENTION 2014-10-08 21:54:35 +05:30
mysqlcheck.c Updated/added copyright headers 2014-01-06 10:52:35 +05:30
mysqldump.c BUG#18779944: MYSQLDUMP BUFFER OVERFLOW 2014-07-02 10:45:22 +02:00
mysqlimport.c Bug #20772273 : MYSQLIMPORT --USE-THREADS DOESN'T USE 2015-06-30 10:27:12 +05:30
mysqlshow.c Merge of patch for Bug#13928675 from mysql-5.1. 2012-08-07 19:07:13 +05:30
mysqlslap.c Merge branch 'mysql-5.1' into mysql-5.5 2015-06-04 11:54:54 +05:30
mysqltest.cc Bug #16402124 - MTR PROCESSES CERTAIN ASSIGNED VARDIR VALUES WRONG 2013-03-29 16:33:33 +05:30
readline.cc Build broken for gcc 4.5.1 in optimized mode. 2011-11-29 15:52:47 +01:00
sql_string.cc Updated/added copyright headers 2013-02-26 06:35:17 +01:00
sql_string.h BUG#14593883-REPLICATION BREAKS WHEN SET DATA TYPE 2013-03-13 16:29:11 +05:30