aboutsummaryrefslogtreecommitdiff
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2017-03-29 16:11:22 +0200
committerMister Oyster <oysterized@gmail.com>2017-04-25 11:28:19 +0200
commitc51317f4c94886c4dd479dc89d36a4c77888f5b6 (patch)
tree25774fcd2e349c36cd010a824e74c6e364c66a90 /scripts/checkstack.pl
parent905bdd2a2b386eefab187cb963b3f879aefd5943 (diff)
net/packet: fix overflow in check for tp_reserve
When calculating po->tp_hdrlen + po->tp_reserve the result can overflow. Fix by checking that tp_reserve <= INT_MAX on assign. Change-Id: I6a4ea0cbe87cfd3db0979896c9bf9b3c626ec1d6 Signed-off-by: Andrey Konovalov <andreyknvl@google.com> Acked-by: Eric Dumazet <edumazet@google.com>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions