• reggie@mdk10.(none)'s avatar
    BUG# 9148: Denial of service · 48c58453
    reggie@mdk10.(none) authored
    The problem was that on Windows the access method indicates that access to file 
    such as "com1" and "lpt1" is allowed (since they are device names) and
    this causes mysql to attempt to open them as databases or tables.
    
    The fix was to write our own my_access method that uses other Win32 functions
    to determine if the given argument is indeed a file and has to requested
    mode.
    48c58453
sql_db.cc 25.2 KB