[Pam-developers] [PATCH] libpam_misc: fix an inconsistency in handling memory allocation errors
Tomas Mraz
tmraz at redhat.com
Wed Jan 22 07:19:16 UTC 2014
On St, 2014-01-22 at 08:12 +0400, Dmitry V. Levin wrote:
> When misc_conv fails to allocate memory for pam_response array, it
> returns PAM_CONV_ERR. However, when read_string fails to allocate
> memory for a response string, it loses the response string and silently
> ignores the error, with net result as if EOF has been read.
Looks OK, please commit.
--
Tomas Mraz
No matter how far down the wrong road you've gone, turn back.
Turkish proverb
(You'll never know whether the road is wrong though.)
More information about the Pam-developers
mailing list