diff options
author | unknown <reggie@mdk10.(none)> | 2005-05-21 12:31:58 -0500 |
---|---|---|
committer | unknown <reggie@mdk10.(none)> | 2005-05-21 12:31:58 -0500 |
commit | 442c072fdf6c7dd2b7fcad5a44c6438b980629f4 (patch) | |
tree | 1e3a7eeced13fbee15770b63f2c8c20e3a0d17d1 /mysys/my_getopt.c | |
parent | 9b8e02741ab73838ffa9dd26dd94a560d9d3d667 (diff) | |
download | mariadb-git-442c072fdf6c7dd2b7fcad5a44c6438b980629f4.tar.gz |
BUG# 9148: Denial of service
This is a second patch needing another review. The first patch didn't solve
the entire problem. open and fopen on Windows will still open
files like "com1.sym" when they shouldn't. This patch
checks that the file exists before trying to open it.
mysys/my_fopen.c:
on Windows, if we are not creating a file the we call my_access to make sure the
file exists before trying to open it.
mysys/my_open.c:
on Windows, if we are not creating a file the we call my_access to make sure the
file exists before trying to open it.
Diffstat (limited to 'mysys/my_getopt.c')
0 files changed, 0 insertions, 0 deletions