summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2024-04-09 17:28:12 +0800
committerJakub Kicinski <kuba@kernel.org>2024-04-10 19:36:23 -0700
commit8750539ba3178c2bb0d178a30ce57dae132cbbb8 (patch)
tree322361032a42e3822ec93867ed9fadaad8df0665 /net/unix/af_unix.c
parent07409cf728448bf4b79a33b75f498cbff439354a (diff)
net: team: fix incorrect maxattr
The maxattr should be the latest attr value, i.e. array size - 1, not total array size. Reported-by: syzbot+ecd7e07b4be038658c9f@syzkaller.appspotmail.com Fixes: 948dbafc15da ("net: team: use policy generated by YAML spec") Suggested-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> Link: https://lore.kernel.org/r/20240409092812.3999785-1-liuhangbin@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions