rlm_pam fixes (was: Automatic report from sources (radiusd) between 17.11.2005 - 18.11.2005 GMT)

Nicolas Baradakis nbk at sitadelle.com
Fri Nov 18 10:46:36 CET 2005


> =====================================================
> Log entries
> =====================================================
> Description:
> 	- allocate all responses, not just the ones we fill in; the prior
> 	  behavior would probably segfault if >1 prompt
> 	- fill in responses in the same order as prompts
> 	- correctly free memory on error (we were leaking reply[*].resp)
> 	- zero out response memory on error (pointless, but considered SOP)
> Modified files:
>	File: radiusd/src/modules/rlm_pam/rlm_pam.c; Revision: 1.39;
>	Date: 2005/11/17 17:53:11; Author: fcusack; Lines:  (+20 -16)

Does this solve bug #291 ? (crash in rlm_pam)
http://bugs.freeradius.org/show_bug.cgi?id=291

-- 
Nicolas Baradakis




More information about the Freeradius-Devel mailing list