David Howells 719fdd3292 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 <colin.king@canonical.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-06-27 22:04:24 -07:00
..
2020-06-27 22:04:24 -07:00
2020-06-16 22:00:28 +01:00
2020-06-16 22:00:28 +01:00
2020-06-27 22:04:24 -07:00
2019-12-11 16:56:54 +00:00
2020-06-05 16:26:36 -07:00