diff options
author | Stanislav Goriainov <goriainov@ispras.ru> | 2022-08-31 10:06:58 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2022-12-08 10:49:46 +0100 |
commit | cf4ef7801a8c880902a07712ba7ff61d8e954f85 (patch) | |
tree | 4e3ca6541e4b7cd47d6d60ed2acc8d2f7128311b /fs/file_table.c | |
parent | ovl: use plain list filler in indexdir and workdir cleanup (diff) | |
download | linux-cf4ef7801a8c880902a07712ba7ff61d8e954f85.tar.xz linux-cf4ef7801a8c880902a07712ba7ff61d8e954f85.zip |
ovl: Add comment on upperredirect reassignment
If memory for uperredirect was allocated with kstrdup() in upperdir != NULL
and d.redirect != NULL path, it may seem that it can be lost when
upperredirect is reassigned later, but it's not possible.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 0a2d0d3f2f291 ("ovl: Check redirect on index as well")
Signed-off-by: Stanislav Goriainov <goriainov@ispras.ru>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions