Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 171889 | Differences between
and this patch

Collapse All | Expand All

(-)krb5-1.5.2.old/src/lib/gssapi/krb5/k5unseal.c (-1 / +4 lines)
Lines 457-464 Link Here
457
457
458
    if ((ctx->initiate && direction != 0xff) ||
458
    if ((ctx->initiate && direction != 0xff) ||
459
	(!ctx->initiate && direction != 0)) {
459
	(!ctx->initiate && direction != 0)) {
460
	if (toktype == KG_TOK_SEAL_MSG)
460
	if (toktype == KG_TOK_SEAL_MSG) {
461
	    xfree(token.value);
461
	    xfree(token.value);
462
		message_buffer->value = NULL;
463
		message_buffer->length = 0;
464
	}
462
	*minor_status = G_BAD_DIRECTION;
465
	*minor_status = G_BAD_DIRECTION;
463
	return(GSS_S_BAD_SIG);
466
	return(GSS_S_BAD_SIG);
464
    }
467
    }

Return to bug 171889