aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2020-06-24 16:00:24 +0000
committerLinus Torvalds <[email protected]>2020-06-28 05:04:24 +0000
commit719fdd32921fb7e3208db8832d32ae1c2d68900f (patch)
tree1a1d38128ee5fefc95a70083684688ce5aaeb557 /tools/perf/scripts/python/sched-migration.py
parentMerge tag '5.8-rc2-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6 (diff)
downloadkernel-719fdd32921fb7e3208db8832d32ae1c2d68900f.tar.gz
kernel-719fdd32921fb7e3208db8832d32ae1c2d68900f.zip
afs: Fix storage of cell names
The cell name stored in the afs_cell struct is a 64-char + NUL buffer - when it needs to be able to handle up to AFS_MAXCELLNAME (256 chars) + NUL. Fix this by changing the array to a pointer and allocating the string. Found using Coverity. Fixes: 989782dcdc91 ("afs: Overhaul cell database management") Reported-by: Colin Ian King <[email protected]> Signed-off-by: David Howells <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions