mirror of
git://git.gnu.org.ua/pam-modules.git
synced 2025-04-28 17:39:52 +03:00
(sql_expand_query): Bugfix
git-svn-id: file:///svnroot/pam-modules/trunk@36 56984be4-0537-0410-a56c-fcb268c96130
This commit is contained in:
parent
331da3dd57
commit
c2e4becb13
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ sql_expand_query (MYSQL *mysql,
|
|||
|
||||
len += strlen (esc_user);
|
||||
p += 2;
|
||||
} if (p[1] == 'u') {
|
||||
} if (p[1] == 'p') {
|
||||
int size = 2*strlen(pass)+1;
|
||||
esc_pass = malloc(len);
|
||||
if (!esc_pass)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue