aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorYufeng Mo <[email protected]>2019-08-09 10:31:10 +0800
committerDavid S. Miller <[email protected]>2019-08-09 13:44:32 -0700
commit7ac243f99d61f4580a72f62e638ed4e04aa52aa1 (patch)
treecc21fc48b5180a8cf6b8bcd8a9b4b6ee56514631 /tools/perf/scripts/python/stackcollapse.py
parenteb977d996e9316c66e4d9908fd12d682e4db14e9 (diff)
net: hns3: add input length check for debugfs write function
If the input length reaches the maximum value of size_t, the reverse is triggered when 1 is added. In addition, there is no need to have such a large length. Therefore, the input length should be checked and the value should be less than or equal to 1024. Signed-off-by: Yufeng Mo <[email protected]> Reviewed-by: Peng Li <[email protected]> Signed-off-by: Huazhong Tan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions