linux-pam/xtests/tst-pam_assemble_line.pamd
Dmitry V. Levin c7daf2606c Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------
2008-02-18  Dmitry V. Levin  <ldv@altlinux.org>

	* libpam/pam_handlers.c (_pam_assemble_line): Fix potential
	buffer overflow.
	* xtests/tst-pam_assemble_line.pamd: New test for
	_pam_assemble_line.
	* xtests/tst-pam_assemble_line.sh: New script for
	tst-pam_assemble_line.
	* xtests/Makefile.am (NOSRCTESTS): Add tst-pam_assemble_line.
2008-02-18 13:37:46 +00:00

9 lines
2.2 KiB
Plaintext

#%PAM-1.0
# Test that _pam_assemble_line() does not crash with long lines.
# printf '%511s\\\n%511s\\\n%511s\\\n%511s\\\n'
\
\
\
\
auth required pam_deny.so