]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
rpc.svcgssd: Segmentation fault on error nfs-utils-1-2-4-rc8
authorSteve Dickson <steved@redhat.com>
Tue, 19 Apr 2011 16:31:30 +0000 (12:31 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 19 Apr 2011 16:31:30 +0000 (12:31 -0400)
Commit 544ed73d introduced a regression that caused
rpc.svcgssd to seg fault on "Wrong principal in request"
errors in gss_accept_sec_context()

Signed-off-by: Steve Dickson <steved@redhat.com>
utils/gssd/gss_util.c

index ca27d61cd98135c2c9d4e6360a9b70ee08041e70..0e327b04d87250f6a037670aee825fb8db6887d5 100644 (file)
@@ -252,7 +252,8 @@ display_status_2(char *m, u_int32_t major, u_int32_t minor, const gss_OID mech)
 
        if (major == GSS_S_CREDENTIALS_EXPIRED)
                msg_verbosity = 1;
-       printerr(msg_verbosity, "ERROR: GSS-API: error in %s(): %s (%s) - %s(%s)\n",
+
+       printerr(msg_verbosity, "ERROR: GSS-API: error in %s(): %s (%s) - %s\n",
                 m, gss_display_error(major), maj, min);
 
        if (maj_gss_buf.length != 0)