forked from osmocom/wireshark
Minor correction to SVN revision 34084: we better only try up to the 9
available values in flags[], so we don't run past the end of the array if one of the reserved flags is set. svn path=/trunk/; revision=34085
This commit is contained in:
parent
dfacac4421
commit
e12fc91a33
1 changed files with 1 additions and 1 deletions
|
@ -3244,7 +3244,7 @@ dissect_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|||
|
||||
if (check_col(pinfo->cinfo, COL_INFO) || tree) {
|
||||
gboolean first_flag = TRUE;
|
||||
for (i = 0; i < 12; i++) {
|
||||
for (i = 0; i < 9; i++) {
|
||||
bpos = 1 << i;
|
||||
if (tcph->th_flags & bpos) {
|
||||
if (first_flag) {
|
||||
|
|
Loading…
Reference in a new issue