Re: [PATCH] rose: af_rose: avoid overflows in rose_setsockopt()

2019-06-04 Thread Eric Dumazet
On 6/4/19 5:11 AM, Young Xiao wrote: > Check setsockopt arguments to avoid overflows and return -EINVAL for > too large arguments. > > See commit 32288eb4d940 ("netrom: avoid overflows in nr_setsockopt()") > for details. > > Signed-off-by: Young Xiao <92siuy...@gmail.com> > --- >

Re: [PATCH] rose: af_rose: avoid overflows in rose_setsockopt()

2019-06-04 Thread walter harms
Am 04.06.2019 14:11, schrieb Young Xiao: > Check setsockopt arguments to avoid overflows and return -EINVAL for > too large arguments. > > See commit 32288eb4d940 ("netrom: avoid overflows in nr_setsockopt()") > for details. > > Signed-off-by: Young Xiao <92siuy...@gmail.com> > --- >