Skip to content

PAM can't handle empty username/password #587

Borkason opened this Issue Mar 24, 2013 · 2 comments

2 participants

Cherokee Project member

Original author: (October 18, 2009 23:26:27)

What steps will reproduce the problem?
1. configure pam
2. type empty/username password [thus hit ok]
3. crash

We talked about this before; Just don't allows empty stuff!

This doesn't fix the other issue.

Original issue:

Cherokee Project member

From alobbs on October 21, 2009 01:41:49
Agree on checking the username, but.. can't PAM handle empty passwords?

Cherokee Project member

From on October 21, 2009 06:34:16
Under Linux I get segv.

@skinkie skinkie added a commit that referenced this issue Jul 27, 2013
@skinkie skinkie Fixes bug #587 - strdup crashes on NULL, our validators user/password…
… buffers remain NULL given they are not provided.
@skinkie skinkie closed this Jul 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.