diff options
author | Karthik Kamath <karthik.kamath@oracle.com> | 2016-04-19 14:49:27 +0530 |
---|---|---|
committer | Karthik Kamath <karthik.kamath@oracle.com> | 2016-04-19 14:49:27 +0530 |
commit | fbf44eed3c69dc15047ac2d40c09dd0d16993fb0 (patch) | |
tree | 4708bfd577ca100556ba26e842823bb253ea0f82 /sql/nt_servc.cc | |
parent | 3a8f43bec76d3d93a809b6a3c76e26e946ba0425 (diff) | |
download | mariadb-git-fbf44eed3c69dc15047ac2d40c09dd0d16993fb0.tar.gz |
BUG#22286421: NULL POINTER DEREFERENCE
ANALYSIS:
=========
A LEX_STRING structure pointer is processed during the
validation of a stored program name. During this processing,
there is a possibility of null pointer dereference.
FIX:
====
check_routine_name() is invoked by the parser by supplying a
non-empty string as the SP name. To avoid any potential calls
to check_routine_name() with NULL value, a debug assert has
been added to catch such cases.
Diffstat (limited to 'sql/nt_servc.cc')
0 files changed, 0 insertions, 0 deletions