summaryrefslogtreecommitdiff
path: root/xtests/tst-pam_motd4.sh
Commit message (Collapse)AuthorAge
* pam_motd: Fix segmentation fault when no motd_dir specified (#76)Robert Fairley2018-11-21
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/Makefile.am: add test scripts and config file * xtests/tst-pam_motd.sh: add running tst-pam_motd4.sh * xtests/tst-pam_motd4.pamd: create * xtests/tst-pam_motd4.sh: create