bin/176807: libgssapi causes segfaults on i386

Jeremy Chadwick jdc at
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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 10 08:40:00 UTC 2013
>Originator:     Jeremy Chadwick
>Release:        FreeBSD 9.1-STABLE amd64
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

	Some key details -- such as that Heimdal is **not** the problem:

	Fix/patch for the issue:

	Possibly related PR:

	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.
	Patch is available for download here:

	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)

More information about the freebsd-bugs mailing list