CLANG 3.2 breaks security/pam_ssh_agent_auth on stable/9

Mike Tancsa mike at sentex.net
Wed Jan 30 21:42:35 UTC 2013


On 1/30/2013 1:21 AM, Kimmo Paasiala wrote:
> On Wed, Jan 30, 2013 at 7:27 AM, James <james at hicag.org> wrote:
>> I was able to correct the problem as well by prefixing strnvis, avoiding the
>> symbol collision. I also found PR: ports/172941 which also has a fix.
>>
>> Using my patch or the patch in ports/172941 fixes the segfault for me in
>> stable/9. However, I quickly ran into another problem. I can't remember the
>> error message exactly, it was something like "Unable to initialize PAM:
>> Unknown file descriptor". A ktrace didn't reveal anything obvious. I'll try
>> to test it out tomorrow.
>>
>> --
>> James.
> 
> Try the attached patch. Just drop it into
> /usr/ports/security/pam_ssh_agent_auth/files directory and recompile.


Thanks very much! This does fix it for me too!

	---Mike




-- 
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike at sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/


More information about the freebsd-stable mailing list