• Marcin Babij's avatar
    BUG#18779944: MYSQLDUMP BUFFER OVERFLOW · a69ab08b
    Marcin Babij authored
    Mysqldump overflows stack buffer when copying table name from commandline arguments resulting in stack corruption and ability to execute arbitrary code.
    
    Fix: Check length of all positional arguments passed to mysqldump is smaller than NAME_LEN.
    Note: Mysqldump heavily depends on that database objects (databases, tablespaces, tables, etc) are limited to small size (now it is 64).
    a69ab08b
mysqldump.c 171 KB