forked from osmocom/wireshark
Fix what appears to be an off-by-one error in the IMAP dissector, causing
valgrind errors with the capture from https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9263 svn path=/trunk/; revision=53062
This commit is contained in:
parent
149de99d68
commit
e960c882f8
|
@ -213,7 +213,7 @@ dissect_imap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|||
folder_offset = offset;
|
||||
folder_offset += (gint) (next_token - line);
|
||||
folder_line = next_token;
|
||||
folder_tokenlen = get_token_len(folder_line, folder_line + (linelen - tokenlen), &folder_next_token);
|
||||
folder_tokenlen = get_token_len(folder_line, folder_line + (linelen - tokenlen - 1), &folder_next_token);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue