summaryrefslogtreecommitdiff
path: root/mysys/my_copy.c
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2010-03-23 16:54:16 +0200
committerGeorgi Kodinov <joro@sun.com>2010-03-23 16:54:16 +0200
commit5167451a92cfd070713be4d57e211ea483a8826b (patch)
tree917925a7b95a99bc456f47e6490dcc8074157e0a /mysys/my_copy.c
parent3658bde7361e862fd87ae5e28f03cc52c4e9fa6a (diff)
downloadmariadb-git-5167451a92cfd070713be4d57e211ea483a8826b.tar.gz
Bug #51893: crash with certain characters given to load_file
function on windows When making sure that the directory path ends up with a slash/backslash we need to check for the correct length of the buffer and trim at the appropriate location so we don't write past the end of the buffer.
Diffstat (limited to 'mysys/my_copy.c')
0 files changed, 0 insertions, 0 deletions