Skip to content
Snippets Groups Projects
Commit b0294bc1 authored by Dan Carpenter's avatar Dan Carpenter Committed by Alexei Starovoitov
Browse files

samples: bpf: ensure that we don't load over MAX_PROGS programs


I can't see that we check prog_cnt to ensure it doesn't go over
MAX_PROGS.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent 301f935b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment