diff options
author | unknown <serg@serg.mylan> | 2003-07-22 22:21:23 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2003-07-22 22:21:23 +0200 |
commit | 1cf4eea19d870f9e6fe147ec36b7df0eef1514cf (patch) | |
tree | 0eec29de18641195250ca526517244f6f0b0e820 /sql/sql_acl.h | |
parent | b413e5c420c3cdb32b519f67aaacf7ad1126d71e (diff) | |
download | mariadb-git-1cf4eea19d870f9e6fe147ec36b7df0eef1514cf.tar.gz |
now GRANT db.* ... compares patterns correctly to prevent privilege escalation
Diffstat (limited to 'sql/sql_acl.h')
-rw-r--r-- | sql/sql_acl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_acl.h b/sql/sql_acl.h index e6c6771253c..ca976f43999 100644 --- a/sql/sql_acl.h +++ b/sql/sql_acl.h @@ -134,7 +134,7 @@ my_bool acl_init(THD *thd, bool dont_read_acl_tables); void acl_reload(THD *thd); void acl_free(bool end=0); ulong acl_get(const char *host, const char *ip, const char *bin_ip, - const char *user, const char *db); + const char *user, const char *db, my_bool db_is_pattern); ulong acl_getroot(THD *thd, const char *host, const char *ip, const char *user, const char *password,const char *scramble, char **priv_user, char *priv_host, |