[Bug 1698758] Re: Encrypted password causes segmentation fault
Andreas Hasenack
andreas at canonical.com
Wed Jun 21 20:45:23 UTC 2017
It's segfaulting because of this odd usage of crypt(3):
sent_pw = (char *) crypt(sent_pw, real_pw);
That returns NULL, because in the SHA case the real_pw contains the {
character which is invalid for the second parameter which is meant to be
the salt.
Later on strcmp is used and that's what causes the segfault.
I can't reach the upstream website:
http://www.giuseppetanzilli.it/mod_auth_pgsql2/
I wonder if it's abandoned, or just a temporary issue.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in Ubuntu.
https://bugs.launchpad.net/bugs/1698758
Title:
Encrypted password causes segmentation fault
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1698758/+subscriptions
More information about the Ubuntu-server-bugs
mailing list