mariadb/include
Georgi Kodinov 107c894a54 Bug #13708485: malformed resultset packet crashes client
Several fixes :

* sql-common/client.c
Added a validity check of the fields metadata packet sent 
by the server.
Now libmysql will check if the length of the data sent by
the server matches what's expected by the protocol before
using the data.

* client/mysqltest.cc
Fixed the error handling code in mysqltest to avoid sending
new commands when the reading the result set failed (and 
there are unread data in the pipe).

* sql_common.h + libmysql/libmysql.c + sql-common/client.c
unpack_fields() now generates a proper error when it fails.
Added a new argument to this function to support the error 
generation.

* sql/protocol.cc
Added a debug trigger to cause the server to send a NULL
insted of the packet expected by the client for testing 
purposes.
2012-06-28 18:38:55 +03:00
..
mysql Updated/added copyright headers 2011-06-30 17:37:13 +02:00
.cvsignore
base64.h
config-netware.h Updated/added copyright headers 2011-06-30 17:37:13 +02:00
config-win.h Updated/added copyright headers 2011-06-30 17:37:13 +02:00
decimal.h Updated/added copyright headers 2012-02-15 17:21:38 +01:00
errmsg.h
ft_global.h
hash.h Updated/added copyright headers 2011-06-30 17:37:13 +02:00
heap.h Updated/added copyright headers 2012-02-15 17:13:47 +01:00
help_end.h
help_start.h
keycache.h Updated/added copyright headers 2011-06-30 17:37:13 +02:00
m_ctype.h Updated/added copyright headers 2012-02-15 17:21:38 +01:00
m_string.h Updated/added copyright headers 2012-02-15 17:13:47 +01:00
Makefile.am BUG#12695969 2011-07-12 02:13:36 +01:00
my_aes.h
my_alarm.h Updated/added copyright headers 2011-06-30 17:37:13 +02:00
my_alloc.h
my_attribute.h
my_base.h Bug#13635833: MULTIPLE CRASHES IN FOREIGN KEY CODE WITH CONCURRENT DDL/DML 2012-03-01 11:05:51 +05:30
my_bit.h Updated/added copyright headers 2011-07-03 17:47:37 +02:00
my_bitmap.h Updated/added copyright headers 2011-07-03 17:47:37 +02:00
my_compare.h
my_compiler.h
my_dbug.h Updated/added copyright headers 2011-06-30 17:37:13 +02:00
my_dir.h
my_getopt.h Bug#14238406 NEW COMPILATION WARNINGS WITH GCC 4.7 (-WERROR=NARROWING) 2012-06-29 13:25:57 +02:00
my_global.h Updated/added copyright headers 2011-07-03 17:47:37 +02:00
my_libwrap.h
my_list.h
my_md5.h
my_net.h
my_no_pthread.h Updated/added copyright headers 2011-06-30 17:37:13 +02:00
my_nosys.h
my_pthread.h
my_stacktrace.h Bug#11761576 54082: HANDLE_SEGFAULT MAKES USE OF UNSAFE FUNCTIONS 2011-11-30 15:39:29 +01:00
my_sys.h
my_time.h Updated/added copyright headers 2011-06-30 17:37:13 +02:00
my_tree.h
my_trie.h
my_uctype.h
my_user.h
my_vle.h
my_xml.h
myisam.h Updated/added copyright headers 2011-07-03 17:47:37 +02:00
myisammrg.h Updated/added copyright headers 2011-06-30 17:37:13 +02:00
myisampack.h
mysql.h Updated/added copyright headers 2011-06-30 17:37:13 +02:00
mysql.h.pp
mysql_com.h
mysql_embed.h Updated/added copyright headers 2011-06-30 17:37:13 +02:00
mysql_time.h
mysql_version.h.in
mysys_err.h Updated/added copyright headers 2011-06-30 17:37:13 +02:00
queues.h
rijndael.h
sha1.h
sql_common.h Bug #13708485: malformed resultset packet crashes client 2012-06-28 18:38:55 +03:00
sslopt-case.h
sslopt-longopts.h Updated/added copyright headers 2011-06-30 17:37:13 +02:00
sslopt-vars.h
t_ctype.h
thr_alarm.h
thr_lock.h Updated/added copyright headers 2011-06-30 17:37:13 +02:00
typelib.h
violite.h BUG#13431369 - MAIN.VARIABLES-NOTEMBEDDED CRASHES THE SERVER SPORADICALLY ON WINDOWS 2012-02-17 19:02:17 +00:00
welcome_copyright_notice.h BUG#12695969: FIX OUTDATED COPYRIGHT NOTICES IN REPLACTION 2011-07-11 17:11:41 +01:00