forked from osmocom/wireshark
krb5: fix asn1 error when dissecting PA-FX-FAST in TGS request
Change-Id: If42e54b05def7a09e37f7c0283103bb6db8126db Signed-off-by: Isaac Boukris <iboukris@gmail.com> Reviewed-on: https://code.wireshark.org/review/30910 Petri-Dish: Anders Broman <a.broman58@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
parent
453e72299c
commit
c43e310d79
|
@ -432,3 +432,7 @@ AuthorizationData/_item/ad-type STRINGS=VALS(krb5_ad_types)
|
|||
#.FN_HDR KRB-ERROR
|
||||
kerberos_private_data_t* private_data = kerberos_get_private_data(actx);
|
||||
private_data->is_request = FALSE;
|
||||
|
||||
#.FN_HDR TGS-REQ
|
||||
kerberos_private_data_t* private_data = kerberos_get_private_data(actx);
|
||||
private_data->is_request = TRUE;
|
||||
|
|
|
@ -3410,6 +3410,10 @@ dissect_kerberos_AS_REP(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset
|
|||
|
||||
static int
|
||||
dissect_kerberos_TGS_REQ(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
||||
#line 426 "./asn1/kerberos/kerberos.cnf"
|
||||
kerberos_private_data_t* private_data = kerberos_get_private_data(actx);
|
||||
private_data->is_request = TRUE;
|
||||
|
||||
offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset,
|
||||
hf_index, BER_CLASS_APP, 12, FALSE, dissect_kerberos_KDC_REQ);
|
||||
|
||||
|
@ -4174,6 +4178,7 @@ dissect_kerberos_KRB_ERROR(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int off
|
|||
kerberos_private_data_t* private_data = kerberos_get_private_data(actx);
|
||||
private_data->is_request = FALSE;
|
||||
|
||||
|
||||
offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset,
|
||||
hf_index, BER_CLASS_APP, 30, FALSE, dissect_kerberos_KRB_ERROR_U);
|
||||
|
||||
|
|
Loading…
Reference in New Issue