+++ This bug was initially created as a clone of Bug #1093690 +++
Description of problem:
Memory - illegal accesses issues reported by Coverity.
1124659 Negative array index read
1124700 Out-of-bounds read
1124701 Out-of-bounds read
1174763 Read from pointer after free
1124844 String not null terminated
1124845 String not null terminated
1134020 String not null terminated
Coverity scan url: https://scan6.coverity.com:8443/reports.htm#v27429/p10714
Guideline for fixing Coverity issues :
This issues are reported by Coverity scan program on master branch of GlusterFS and the head was at "commit b3031351b0e69195413f5f5b9cad2752e3eb713d"
Version-Release number of selected component (if applicable):
Steps to Reproduce: