• Evgeny Potemkin's avatar
    Bug#37908: Skipped access right check caused server crash. · aa74a314
    Evgeny Potemkin authored
          
    The check_table_access function initializes per-table grant info and performs
    access rights check. It wasn't called for SHOW STATUS statement thus left
    grants info uninitialized. In some cases this led to server crash. In other
    cases it allowed a user to check for presence/absence of arbitrary values in
    any tables.
          
    Now the check_table_access function is called prior to the statement
    processing.
    aa74a314
sql_parse.cc 224 KB