HTTP2 : Max value for type is now 0x0B (BLOCKED type), update the heuristic
Change-Id: I8de7b63ca90803f8fc6333bbe43aeb94459e6363 Reviewed-on: https://code.wireshark.org/review/1918 Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
1ca8d5f33f
commit
13513a187b
|
@ -1016,8 +1016,8 @@ dissect_http2_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *da
|
|||
{
|
||||
if (tvb_memeql(tvb, 0, kMagicHello, MAGIC_FRAME_LENGTH) != 0) {
|
||||
/* we couldn't find the Magic Hello (PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n)
|
||||
see if there's a valid frame type (0-10 are defined at the moment) */
|
||||
if (tvb_reported_length(tvb)<2 || tvb_get_guint8(tvb, 2)>10)
|
||||
see if there's a valid frame type (0-11 are defined at the moment) */
|
||||
if (tvb_reported_length(tvb)<2 || tvb_get_guint8(tvb, 2)>=HTTP2_BLOCKED)
|
||||
return (FALSE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue