Re: CLANG 3.2 breaks security/pam_ssh_agent_auth on stable/9
Am 30.01.2013 um 07:21 schrieb Kimmo Paasiala <kpaasial@gmail.com>:
> On Wed, Jan 30, 2013 at 7:27 AM, James <james@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.
>
> This will make the port use the system strnvis() with correctly
> ordered arguments if one is available (HAVE_STRNVIS defined) and an
> _openbsd suffixed version if not.
>
>
> -Kimmo
> <patch-strnvis.txt>
Working great for me!
Is this on any committers radar? I don't see a PR for it.
Stefan
--
Stefan Bethke <stb@lassitu.de> Fon +49 151 14070811
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 27 之 27 篇):