summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src/posix-entry-ops.c
diff options
context:
space:
mode:
authorRinku Kothiya <rkothiya@redhat.com>2018-12-17 19:55:20 +0530
committermohammed rafi kc <rkavunga@redhat.com>2018-12-19 11:24:57 +0000
commite3ec41af9a9f4d906dd7b512b3f4f91a6f338f4b (patch)
treecd9090cba88c2dc5020d2cf43c874174ecddc876 /xlators/storage/posix/src/posix-entry-ops.c
parent9662504d45f3e285772f5188a7edf7ae3665cc6a (diff)
rdma: fix possible buffer overflow
used snprintf instead of sprintf and if the source string is bigger than destination then logged a warning message. clang warning: ā€˜%sā€™ directive writing up to 1024 bytes into a region of size 108. updates: bz#1622665 Change-Id: Ia5e7c53d35d8178dd2c75708698599fe8bded5de Signed-off-by: Rinku Kothiya <rkothiya@redhat.com>
Diffstat (limited to 'xlators/storage/posix/src/posix-entry-ops.c')
0 files changed, 0 insertions, 0 deletions