diff options
author | Tobias Stoeckmann <tobias@stoeckmann.org> | 2023-11-11 17:20:26 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-11-12 22:55:00 +0000 |
commit | 71bb66067f979350921a9be58fc534822a15363c (patch) | |
tree | 88dcaf015a0b69cad481cd36b1049376ba0ff6fb /modules/pam_echo | |
parent | cb13aa40cb4ea0c8f1d12d79cbf9ed94828c837f (diff) | |
download | pam-71bb66067f979350921a9be58fc534822a15363c.tar.gz pam-71bb66067f979350921a9be58fc534822a15363c.tar.bz2 pam-71bb66067f979350921a9be58fc534822a15363c.zip |
libpam: drop module if memory allocation failed
The argument vector for a module is created in _pam_parse_conf_file,
which is performed by _pam_mkargv. If memory allocation fails in
_pam_mkargv, then an empty argv is returned. This has to be checked by
the caller to not silently drop arguments requested by configuration.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Diffstat (limited to 'modules/pam_echo')
0 files changed, 0 insertions, 0 deletions