Bug 1093695

Summary: Memory corruption issues reported by Coverity
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Lalatendu Mohanty <lmohanty>
Component: glusterfsAssignee: Bug Updates Notification Mailing List <rhs-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: Lalatendu Mohanty <lmohanty>
Severity: high Docs Contact:
Priority: high    
Version: rhgs-3.0CC: amukherj, mzywusko, rhs-bugs, smohan
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1093688 Environment:
Last Closed: 2018-02-06 02:33:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1093688    
Bug Blocks:    

Description Lalatendu Mohanty 2014-05-02 11:26:19 UTC
+++ 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