summaryrefslogtreecommitdiffstats
path: root/geo-replication
diff options
context:
space:
mode:
authorShyamsundarR <srangana@redhat.com>2018-09-28 13:47:33 -0400
committerShyamsundar Ranganathan <srangana@redhat.com>2018-10-02 18:41:39 +0000
commit9eeca96885560ee555826ca0eb4294d226928728 (patch)
tree1371b16d4078dc1e668231d671d2feec34a9742e /geo-replication
parent315b45f85ecba15d7fc8f2342468b89ee4747c48 (diff)
mdcache: Fix asan reported potential heap buffer overflow
The char pointer mdc_xattr_str in function mdc_xattr_list_populate is malloc'd and doing a strcat into a malloc'd region can overflow content allocated based on prior contents of the memory region. Added a NULL terimation to the malloc'd region to prevent the overflow, and treat it as an empty string. Change-Id: If0decab669551581230a8ede4c44c319ff04bac9 Updates: bz#1635373 Signed-off-by: ShyamsundarR <srangana@redhat.com> (cherry picked from commit d00a2a1b398346bbdc5ac9b3ba4b09fb1ce1e699)
Diffstat (limited to 'geo-replication')
0 files changed, 0 insertions, 0 deletions