from tim endean

handle the "broken" case when someone sends an indefinite length that is 0.



svn path=/trunk/; revision=18407
This commit is contained in:
Ronnie Sahlberg 2006-06-09 21:09:57 +00:00
parent 067de606f2
commit ecdde88d46
1 changed files with 6 additions and 0 deletions

View File

@ -1053,6 +1053,12 @@ printf("SEQUENCE dissect_ber_sequence(%s) entered\n",name);
offset = get_ber_length(tree, tvb, offset, &len, &ind_field);
eoffset = offset + len;
if(ind_field && (len == 2)){
/* disgusting indefinite length zero length field, what are these people doing */
offset = eoffset;
continue;
}
ber_sequence_try_again:
/* have we run out of known entries in the sequence ?*/
if(!seq->func) {