aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorSergey Shtylyov <[email protected]>2022-08-23 23:53:26 +0300
committerGreg Kroah-Hartman <[email protected]>2022-08-31 09:07:52 +0200
commit4348f2e3ab3358898bfe93387ced7f3e1e3a6186 (patch)
treeea32f6d5a2bb341083815ddcd07c6feabb6faaac /tools/perf/scripts/python/bin/stackcollapse-report
parent66d1c8021e1d9c97101d58fa09c33c002d96747a (diff)
usb: gadget: function: rndis: limit # of RNDIS instances to 1000
As follows from #define NAME_TEMPLATE, the procfs code in the RNDIS driver expects the # of instances to be 3-digit decimal, while the driver calls ida_simple_get() passing 0 as the 'end' argument which results in actual max instance # of INT_MAX. Limit the maximum # of RNDIS instances to 1000 which is still a lot! :-) Found by Linux Verification Center (linuxtesting.org) with the SVACE static analysis tool. Signed-off-by: Sergey Shtylyov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions