Red Hat Bugzilla – Bug 814803
yppasswd doesn't handle crypt() returning NULL
Last modified: 2012-05-02 16:50:48 EDT
Created attachment 579069 [details]
yp-tools spec file
yppasswd doesn't handle crypt() returning NULL, which is possible in fips mode and other corner conditions. It blindly tries to sntrcmp or strdup the return
values of crypt()
Attached is a patch and updated spec file for rawhide
Created attachment 579072 [details]
patch hanlding crypt() returning NULL
As I do not have an existing YP/NIS setup, someone should really test this patch
Thanks for reporting. I've pushed the patch to upstream, applied in Rawhide and will update in F17 soon.
Right now, I'm not going to apply the patch and update in F16 and F15 though, unless there is a real use case requiring this fix or some more significant fix.
yp-tools-2.12-9.fc17 has been submitted as an update for Fedora 17.
no need for f16, f15. Though RHEL would be nice :)
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing yp-tools-2.12-9.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
yp-tools-2.12-9.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.