summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorStaale Smedseng <staale.smedseng@sun.com>2009-07-01 14:09:44 +0200
committerStaale Smedseng <staale.smedseng@sun.com>2009-07-01 14:09:44 +0200
commit3cd431d553d722ec56db2635d88b8bb17087952a (patch)
tree05ab61fb6e8e8f01be26c6067261f9e4a0e8be0a /ndb
parent67771508836edda4bad393f1a00d89cd419e3814 (diff)
downloadmariadb-git-3cd431d553d722ec56db2635d88b8bb17087952a.tar.gz
Bug #45790 Potential DoS vector: Writing of user input to log
without proper formatting The problem is that a suitably crafted database identifier supplied to COM_CREATE_DB or COM_DROP_DB can cause a SIGSEGV, and thereby a denial of service. The database name is printed to the log without using a format string, so potential attackers can control the behavior of my_b_vprintf() by supplying their own format string. A CREATE or DROP privilege would be required. This patch supplies a format string to the printing of the database name. A test case is added to mysql_client_test. sql/sql_parse.cc: Added format strings. tests/mysql_client_test.c: Added new test case.
Diffstat (limited to 'ndb')
0 files changed, 0 insertions, 0 deletions