RDS: validate the requested traces user input against max supported
authorsantosh.shilimkar@oracle.com <santosh.shilimkar@oracle.com>
Fri, 6 Jan 2017 18:44:15 +0000 (10:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Jan 2017 03:14:26 +0000 (22:14 -0500)
commit780e982905bef61d13496d9af5310bf4af3a64d3
treebc67c33913e700fce2c8d1e6288be81ea5b5b364
parent1c966c5d26fec8bd71c42867e09d8da8aa721e58
RDS: validate the requested traces user input against max supported

Larger than supported value can lead to array read/write overflow.

Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/af_rds.c