Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ubifs: free the encrypted symlink target
ubifs_symlink() forgot to free the kmalloc()'ed buffer holding the encrypted symlink target, creating a memory leak. Fix it. (UBIFS could actually encrypt directly into ui->data, removing the temporary buffer, but that is left for the patch that switches to use the symlink helper functions.) Fixes: ca7f85b ("ubifs: Add support for encrypted symlinks") Cc: <[email protected]> # v4.10+ Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: Theodore Ts'o <[email protected]>
- Loading branch information