+++ This bug was initially created as a clone of Bug #1093688 +++ Description of problem: Memory corruption issues reported by Coverity CID Type 1134019 Allocation too small for type 1138522 Destination buffer too small 1124655 Negative array index write 1202391 Negative array index write 1124858 Unbounded source buffer Guideline for fixing Coverity issues : http://www.gluster.org/community/documentation/index.php/Fixing_Issues_Reported_By_Tools_For_Static_Code_Analysis#Coverity 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): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: --- Additional comment from Lalatendu Mohanty on 2014-05-02 07:20:12 EDT --- Coverity scan url: https://scan6.coverity.com:8443/reports.htm#v27429/p10714