Skip to content

Commit

Permalink
Merge pull request #11999 from nmeum/pr/gnrc_tcp_mark_update
Browse files Browse the repository at this point in the history
net/gnrc/tcp: fix invalid read
  • Loading branch information
benpicco committed Aug 20, 2019
2 parents f0272ed + 9e91d21 commit 20dec77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sys/net/gnrc/transport_layer/tcp/gnrc_tcp_eventloop.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ static int _receive(gnrc_pktsnip_t *pkt)
return -ENOMSG;
}
pkt->type = GNRC_NETTYPE_UNDEF;
hdr = (tcp_hdr_t *)tcp->data;
}

/* Validate checksum */
Expand Down

0 comments on commit 20dec77

Please sign in to comment.