svn rev #22231: branches/krb5-1-7/src/lib/krb5/asn.1/
tlyu@MIT.EDU
tlyu at MIT.EDU
Wed Apr 15 16:06:30 EDT 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=22231
Commit By: tlyu
Log Message:
ticket: 6427
version_fixed: 1.7
pull up r22107 from trunk
------------------------------------------------------------------------
r22107 | ghudson | 2009-03-17 17:54:51 -0400 (Tue, 17 Mar 2009) | 8 lines
Changed paths:
M /trunk/src/lib/krb5/asn.1/asn1_k_decode.c
ticket: 6427
subject: Fix error handling issue in ASN.1 decoder
tags: pullup
target_version: 1.7
In asn1_k_decode.c, check the return value of
end_sequence_of_no_tagvars_helper.
Changed Files:
U branches/krb5-1-7/src/lib/krb5/asn.1/asn1_k_decode.c
Modified: branches/krb5-1-7/src/lib/krb5/asn.1/asn1_k_decode.c
===================================================================
--- branches/krb5-1-7/src/lib/krb5/asn.1/asn1_k_decode.c 2009-04-14 21:07:49 UTC (rev 22230)
+++ branches/krb5-1-7/src/lib/krb5/asn.1/asn1_k_decode.c 2009-04-15 20:06:29 UTC (rev 22231)
@@ -364,7 +364,8 @@
return retval;
}
#define end_sequence_of_no_tagvars(buf) \
- end_sequence_of_no_tagvars_helper(buf, &seqbuf, seqofindef)
+ retval = end_sequence_of_no_tagvars_helper(buf, &seqbuf, seqofindef); \
+ if (retval) clean_return(retval)
/*
* Function body for a pointer decoder, which allocates a pointer
More information about the cvs-krb5
mailing list