diff options
author | Yaniv Kaul <ykaul@redhat.com> | 2019-10-31 18:13:16 +0200 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2019-11-04 07:01:02 +0000 |
commit | 7a1c912a6b145cbf3b22884a7a6b2dfe16fb5de0 (patch) | |
tree | 43f76a84e5615f473c78cac877c05ae8cb8da60f /xlators/cluster/ec/src/ec-types.h | |
parent | 13cb14811cdea477780e58ba35493479c7a04a25 (diff) |
posix-entry-ops.c: pass correct key length in posix_skip_non_linkto_unlink()
As was found out in a different patch, passing a pointer
to a constant string still calculates the size of the pointer
and not the string. This is not catastrophic as the dictionary
is matching not just hashes but key names, but is certainly what
was intended to be done.
Instead, pass explicitly the key lenth.
I've looked for additional cases for such an issue and did not
find them, luckily.
Change-Id: I644a07a77dd541e9cf4886811ab54897e0c9d483
updates: bz#1193929
Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'xlators/cluster/ec/src/ec-types.h')
0 files changed, 0 insertions, 0 deletions