diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-03-07 19:17:37 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-03-10 18:21:29 +0100 |
commit | 5d40ed864eb91314c894c713cd0d3d03c62ec8c5 (patch) | |
tree | 597eab3f29343ffb834b8a9f4e5a54f4be56212d /dbug | |
parent | e0a03ca30aa6f91daf7ea519a57d85e54dc49927 (diff) | |
download | mariadb-git-5d40ed864eb91314c894c713cd0d3d03c62ec8c5.tar.gz |
MDEV-11752 Unsafe strmov - function definition in include/m_string.h
assert that strmov() cannot be used on overlapping strings.
(because strpcpy cannot)
Diffstat (limited to 'dbug')
-rw-r--r-- | dbug/dbug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbug/dbug.c b/dbug/dbug.c index b2b298beb09..3035895648e 100644 --- a/dbug/dbug.c +++ b/dbug/dbug.c @@ -1883,7 +1883,7 @@ static void DBUGOpenFile(CODE_STATE *cs, cs->stack->name[len]=0; } else - strmov(cs->stack->name,name); + strmov(cs->stack->name,name); name=cs->stack->name; if (strcmp(name, "-") == 0) { |