bin/176807: libgssapi causes segfaults on i386
Jeremy Chadwick
jdc at koitsu.org
Sun Mar 10 08:40:00 UTC 2013
>Number: 176807
>Category: bin
>Synopsis: libgssapi causes segfaults on i386
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Mar 10 08:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Jeremy Chadwick
>Release: FreeBSD 9.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD icarus.home.lan 9.1-STABLE FreeBSD 9.1-STABLE #0 r247132: Thu Feb 21 19:15:34 PST 2013 root at icarus.home.lan:/usr/obj/usr/src/sys/X7SBA_RELENG_9_amd64 amd64
>Description:
Issue:
http://lists.freebsd.org/pipermail/freebsd-stable/2010-July/057734.html
Some key details -- such as that Heimdal is **not** the problem:
http://lists.freebsd.org/pipermail/freebsd-stable/2010-July/057818.html
Fix/patch for the issue:
http://lists.freebsd.org/pipermail/freebsd-stable/2010-July/057830.html
Possibly related PR:
kern/147454
>How-To-Repeat:
The thread/issue actually contains the necessary "bits" that you
need to install + configuration details to reproduce the issue.
I was able to reproduce it on a freshly installed system. So
for how to repeat the problem, you gotta read the communications
between Reko Turja and myself.
>Fix:
Patch is available for download here:
http://jdc.koitsu.org/freebsd/gss_release_buffer.c.patch
And is also attached below.
--- lib/libgssapi/gss_release_buffer.c.orig 2009-08-03 01:13:06.000000000 -0700
+++ lib/libgssapi/gss_release_buffer.c 2010-07-17 19:47:25.000000000 -0700
@@ -37,7 +37,7 @@
{
*minor_status = 0;
- if (buffer->value)
+ if (buffer->length && buffer->value)
free(buffer->value);
_gss_buffer_zero(buffer);
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list