mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
IB/srpt: Verify port numbers in srpt_event_handler()
Verify whether port numbers are in the expected range before using these as an array index. Complain if a port number is out of range. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
d9f45ae69f
commit
5f1141b165
1 changed files with 16 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue