]> git.karo-electronics.de Git - linux-beck.git/commit
ieee802154: reassembly: fix possible buffer overflow
authorAlexander Aring <alex.aring@gmail.com>
Sun, 29 Jun 2014 11:10:18 +0000 (13:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Jul 2014 01:34:25 +0000 (18:34 -0700)
commit48bc03433cfdcac7a3bbb233d5c9f95297a0f5ab
tree00253fc8e068a52b7acecdf572ae35d9d0285223
parent98846e698d99533321f39fe5b7df06c1b02a5e66
ieee802154: reassembly: fix possible buffer overflow

The max_dsize attribute in ctl_table for lowpan_frags_ns_ctl_table is
configured with integer accessing methods. This patch change the
max_dsize attribute to int to avoid a possible buffer overflow.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netns/ieee802154_6lowpan.h