Eric Biggers 6b46d44414 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: ca7f85be8d6c ("ubifs: Add support for encrypted symlinks")
Cc: <stable@vger.kernel.org> # v4.10+
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2018-01-11 23:27:00 -05:00
..
2012-08-31 17:32:58 +03:00
2018-01-11 23:27:00 -05:00
2016-12-12 23:06:28 +01:00
2017-07-14 22:49:06 +02:00
2015-03-25 11:08:41 +02:00
2016-12-12 23:07:38 +01:00
2017-07-14 22:49:07 +02:00
2016-12-12 23:07:38 +01:00