OpenPAM/t
Dag-Erling Smørgrav 9bdf428c5a Fix an off-by-one bug in pam_getenv() which was inadvertantly
introduced when pam_getenv() was (needlessly) rewritten as part of
r913.  Rewrite pam_getenv() again (but correctly, this time) to reduce
the number of times we iterate over the same string.  Add a few unit
tests for pam_{get,put,set}env(), including one which would have
caught the bug.

Credit goes to Tim Creech <tcreech@tcreech.com> for discovering and
reporting the bug.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@943 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2019-02-20 13:23:51 +00:00
..
Makefile.am Fix an off-by-one bug in pam_getenv() which was inadvertantly 2019-02-20 13:23:51 +00:00
t_openpam_ctype.c Switch from $Id$ to $OpenPAM$. 2017-04-30 21:34:42 +00:00
t_openpam_dispatch.c Switch from $Id$ to $OpenPAM$. 2017-04-30 21:34:42 +00:00
t_openpam_readlinev.c Switch from $Id$ to $OpenPAM$. 2017-04-30 21:34:42 +00:00
t_openpam_readword.c Switch from $Id$ to $OpenPAM$. 2017-04-30 21:34:42 +00:00
t_pam_conv.c Switch from $Id$ to $OpenPAM$. 2017-04-30 21:34:42 +00:00
t_pam_conv.h Switch from $Id$ to $OpenPAM$. 2017-04-30 21:34:42 +00:00
t_pam_env.c Fix an off-by-one bug in pam_getenv() which was inadvertantly 2019-02-20 13:23:51 +00:00
t_pam_err.c Fix an off-by-one bug in pam_getenv() which was inadvertantly 2019-02-20 13:23:51 +00:00
t_pam_err.h Fix an off-by-one bug in pam_getenv() which was inadvertantly 2019-02-20 13:23:51 +00:00