From 58ea3bdbfe6330225a2d58dfb00ccf1ad70617fe Mon Sep 17 00:00:00 2001 From: Zhanna Tsitkov Date: Thu, 19 Sep 2013 13:11:15 -0400 Subject: Err codes in KRB_ERROR protocol messages are < 128 If the error code is out of [0,127] range, assign it to KRB_ERR_GENERIC. This fix is to correct the previous behavior with [0,128] range. For more information see krb5_err.et --- src/include/k5-int.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include') diff --git a/src/include/k5-int.h b/src/include/k5-int.h index f84fbd835..d5814d9bb 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -381,6 +381,7 @@ typedef INT64_TYPE krb5_int64; not find a KDC */ #define KRB_AP_ERR_IAKERB_KDC_NO_RESPONSE 86 /* The KDC did not respond to the IAKERB proxy */ +#define KRB_ERR_MAX 127 /* err table base max offset for protocol err codes */ /* * A null-terminated array of this structure is returned by the KDC as -- cgit