CLANG 3.2 breaks security/pam_ssh_agent_auth on stable/9
Stefan Bethke
stb at lassitu.de
Sat Feb 2 22:13:04 UTC 2013
Am 30.01.2013 um 07:21 schrieb Kimmo Paasiala <kpaasial at gmail.com>:
> 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.
>
> 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 at lassitu.de> Fon +49 151 14070811
More information about the freebsd-stable
mailing list