diff options
author | unknown <andrey@example.com> | 2006-09-27 21:23:17 +0200 |
---|---|---|
committer | unknown <andrey@example.com> | 2006-09-27 21:23:17 +0200 |
commit | fcb8687ad98ea57bfe8d12d36af1432561054565 (patch) | |
tree | 430d65358da17da14444d9ea6c5d75578353c859 /BitKeeper | |
parent | 1a22b9c1f62f2e24a8a8899fac32bd29503ee3e8 (diff) | |
download | mariadb-git-fcb8687ad98ea57bfe8d12d36af1432561054565.tar.gz |
Fix for bug#21311: Possible stack overrun if SP has non-latin1 name
There was possible stack overrun in an edge case which handles invalid body of
a SP in mysql.proc . That should be case when mysql.proc has been changed
manually. Though, due to bug 21513, it can be exploited without having access
to mysql.proc only being able to create a stored routine.
mysql-test/r/sp.result:
update result
mysql-test/t/sp.test:
add a test case for the bug
sql/sp.cc:
Fix stack overrun. This happen mostly when mysql.proc is damaged, though
it's possible due to another bug which creates invalid SP body in mysql.proc
(leading quote from a label being cut) to create stack overrun even without
having direct access to mysql.proc
Diffstat (limited to 'BitKeeper')
0 files changed, 0 insertions, 0 deletions