ecryptfs: Drop redundant NUL terminations after calling ecryptfs_to_hex
authorThorsten Blum <thorsten.blum@linux.dev>
Thu, 20 Nov 2025 22:17:57 +0000 (23:17 +0100)
committerTyler Hicks <code@tyhicks.com>
Tue, 23 Dec 2025 21:23:23 +0000 (15:23 -0600)
commit6ba673331340dabcff4a3ca91cc67761ba74c518
treed45691bcae5eb518953213fe832101df988eca45
parente8fb5ec8934312df0a8f28b5514733acdf7ba722
ecryptfs: Drop redundant NUL terminations after calling ecryptfs_to_hex

ecryptfs_to_hex() already NUL-terminates the destination buffers. Drop
the manual NUL terminations.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Tyler Hicks <code@tyhicks.com>
fs/ecryptfs/debug.c
fs/ecryptfs/keystore.c