diff options
author | unknown <holyfoot/hf@mysql.com/hfmain.(none)> | 2007-07-20 16:05:55 +0500 |
---|---|---|
committer | unknown <holyfoot/hf@mysql.com/hfmain.(none)> | 2007-07-20 16:05:55 +0500 |
commit | 1a2d2117ffcd9641ed472039f29c8996023e7b60 (patch) | |
tree | c5d4d76d4f8176a72b1d547dd1f7fc1c6417e13d /libmysql_r | |
parent | c20595d8a0f2a18c7b6d7d85c6c2b42b5025df8d (diff) | |
download | mariadb-git-1a2d2117ffcd9641ed472039f29c8996023e7b60.tar.gz |
Bug #29494 Field packet with NULL fields crashes libmysqlclient.
unpack_fields() didn't expect NULL_LENGHT in the field's descriptions.
In this case we get NULL in the resulting string so cannot use
strdup_root to make a copy of it.
strdup_root changed with strmake_root as it's NULL-safe
sql-common/client.c:
Bug #29494 Field packet with NULL fields crashes libmysqlclient
strdup_root changed with strmake_root in unpack_fields()
Diffstat (limited to 'libmysql_r')
0 files changed, 0 insertions, 0 deletions