diff options
| author | Eric Biggers <[email protected]> | 2018-01-11 23:27:00 -0500 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2018-01-11 23:27:00 -0500 |
| commit | 6b46d444146eb8d0b99562795cea8086639d7282 (patch) | |
| tree | 5533c2629364aee48361e5447b42882eac030490 /drivers/usb/cdns3/cdns3-debug.h | |
| parent | f2329cb687d63b73072281aba5646154237b05d2 (diff) | |
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: <[email protected]> # v4.10+
Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions