mirror of
https://github.com/MariaDB/server.git
synced 2026-04-30 12:15:32 +02:00
Merge 10.1 into 10.2
This commit is contained in:
commit
206528f722
38 changed files with 707 additions and 713 deletions
|
|
@ -100,7 +100,7 @@ maria_declare_plugin(ed25519)
|
|||
0x0100,
|
||||
NULL,
|
||||
NULL,
|
||||
"1.0-alpha",
|
||||
"1.0",
|
||||
MariaDB_PLUGIN_MATURITY_STABLE
|
||||
}
|
||||
maria_declare_plugin_end;
|
||||
|
|
|
|||
|
|
@ -189,13 +189,15 @@ int pam_sm_authenticate(pam_handle_t *pamh, int flags,
|
|||
s++;
|
||||
}
|
||||
from= s;
|
||||
skip(isalnum(*s) || (*s == '_') || (*s == '.') || (*s == '-') || (*s == '$'));
|
||||
skip(isalnum(*s) || (*s == '_') || (*s == '.') || (*s == '-') ||
|
||||
(*s == '$') || (*s == '\\') || (*s == '/'));
|
||||
end_from= s;
|
||||
skip(isspace(*s));
|
||||
if (end_from == from || *s++ != ':') goto syntax_error;
|
||||
skip(isspace(*s));
|
||||
to= s;
|
||||
skip(isalnum(*s) || (*s == '_') || (*s == '.') || (*s == '-') || (*s == '$'));
|
||||
skip(isalnum(*s) || (*s == '_') || (*s == '.') || (*s == '-') ||
|
||||
(*s == '$'));
|
||||
end_to= s;
|
||||
if (end_to == to) goto syntax_error;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue