forked from osmocom/wireshark
Fix bug 819: make sure to always return a tvb pointer.
svn path=/trunk/; revision=17656
This commit is contained in:
parent
a346237ffd
commit
09f2ccdca3
|
@ -726,6 +726,8 @@ printf("OCTET STRING dissect_ber_octet_string(%s) entered\n",name);
|
|||
|
||||
length_remaining = tvb_length_remaining(tvb, offset);
|
||||
if(length_remaining<1){
|
||||
if(out_tvb)
|
||||
*out_tvb=NULL;
|
||||
return end_offset;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue