• Marcin Babij's avatar
    BUG#18779944: MYSQLDUMP BUFFER OVERFLOW · 3b7f990b
    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).
    3b7f990b
mysqldump.c 171 KB