diff options
-rw-r--r-- | src/pamela/pamelad.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pamela/pamelad.c b/src/pamela/pamelad.c index dd8ec17..84730c8 100644 --- a/src/pamela/pamelad.c +++ b/src/pamela/pamelad.c @@ -105,6 +105,7 @@ static int converse (int n, struct pam_message const **msg, struct pam_response len = v.iov_len - 2 ; if (s[0] != 'C') return PAM_ABORT ; if (s[1]) return s[1] ; + s += 2 ; res = malloc(n * sizeof(struct pam_response)) ; if (!res) return PAM_BUF_ERR ; for (uint32_t i = 0 ; i < n ; i++) |