Date: Sun, 10 Mar 2013 00:35:45 -0800 (PST) From: Jeremy Chadwick <jdc@koitsu.org> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/176807: libgssapi causes segfaults on i386 Message-ID: <20130310083545.9A7E373A31@icarus.home.lan> Resent-Message-ID: <201303100840.r2A8e0H2085294@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130310083545.9A7E373A31>