• Harin Vadodaria's avatar
    Bug #14211140: CRASH WHEN GRANTING OR REVOKING PROXY · bdf2c4de
    Harin Vadodaria authored
                   PRIVILEGES
    
    Description: (user,host) pair from security context is used
                 privilege checking at the time of granting or
                 revoking proxy privileges. This creates problem
                 when server is started with
                 --skip-name-resolve option because host will not
                 contain any value. Checks should be dependent on
                 consistent values regardless the way server is
                 started. Further, privilege check should use
                 (priv_user,priv_host) pair rather than values
                 obtained from inbound connection because
                 this pair represents the correct account context
                 obtained from mysql.user table.
    bdf2c4de
sql_acl.cc 295 KB