summaryrefslogtreecommitdiffstats
path: root/net/ax25/ax25_addr.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-05-23 20:46:48 +0300
committerDavid S. Miller <davem@davemloft.net>2020-05-25 17:51:28 -0700
commit6a1015b0b4b1f3a0de9e40d2ba86877d13f50918 (patch)
tree3f24921700cd271bf6e50771ff8acafe64b1363b /net/ax25/ax25_addr.c
parentca23cb0bc50faae0d48786b2f9f702dbb528b925 (diff)
downloadlinux-6a1015b0b4b1f3a0de9e40d2ba86877d13f50918.tar.bz2
ipv4: potential underflow in compat_ip_setsockopt()
The value of "n" is capped at 0x1ffffff but it checked for negative values. I don't think this causes a problem but I'm not certain and it's harmless to prevent it. Fixes: 2e04172875c9 ("ipv4: do compat setsockopt for MCAST_MSFILTER directly") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ax25/ax25_addr.c')
0 files changed, 0 insertions, 0 deletions