diff options
author | Rinku Kothiya <rkothiya@redhat.com> | 2018-12-17 19:55:20 +0530 |
---|---|---|
committer | mohammed rafi kc <rkavunga@redhat.com> | 2018-12-19 11:24:57 +0000 |
commit | e3ec41af9a9f4d906dd7b512b3f4f91a6f338f4b (patch) | |
tree | cd9090cba88c2dc5020d2cf43c874174ecddc876 /libglusterfs | |
parent | 9662504d45f3e285772f5188a7edf7ae3665cc6a (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 'libglusterfs')
0 files changed, 0 insertions, 0 deletions