diff options
author | Prasad J Pandit <pjp@fedoraproject.org> | 2016-03-02 17:29:58 +0530 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2016-03-08 15:34:18 +0800 |
commit | 362786f14a753d8a5256ef97d7c10ed576d6572b (patch) | |
tree | df46cf293e0e12fdd91068e3aa60b228a8ab061d /target-openrisc/mmu.c | |
parent | f1b2bc601af5037f0af6d55575e619b912e348b5 (diff) |
net: check packet payload length
While computing IP checksum, 'net_checksum_calculate' reads
payload length from the packet. It could exceed the given 'data'
buffer size. Add a check to avoid it.
Reported-by: Liu Ling <liuling-it@360.cn>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'target-openrisc/mmu.c')
0 files changed, 0 insertions, 0 deletions