path: root/modules/pam_unix/passverify.c
diff options
authorRobert Fairley <>2018-11-21 02:46:02 -0500
committerTomáš Mráz <>2018-11-21 08:46:02 +0100
commit8eaf5570cf011148a0b55c53570df5edaafebdb0 (patch)
treeca73af7e2b7eeb5a6a2dbf42af96c2db3b3f7795 /modules/pam_unix/passverify.c
parentf9c9c72121eada731e010ab3620762bcf63db08f (diff)
pam_motd: Fix segmentation fault when no motd_dir specified (#76)
This fixes a regression introduced by #69, where motd_path was set to NULL and passed into strdup() if the motd_dir argument was not specified in the configuration file. This caused a segmentation fault. * modules/pam_motd/pam_motd.c: fix checks for NULL in arguments * xtests/ add test scripts and config file * xtests/ add running * xtests/tst-pam_motd4.pamd: create * xtests/ create
Diffstat (limited to 'modules/pam_unix/passverify.c')
0 files changed, 0 insertions, 0 deletions