Bug 1093696

Summary: Illegal memory accesses 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: urgent Docs Contact:
Priority: urgent    
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: 1093690 Environment:
Last Closed: 2018-02-06 02:34:06 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: 1093690    
Bug Blocks:    

Description Lalatendu Mohanty 2014-05-02 11:27:53 UTC
+++ This bug was initially created as a clone of Bug #1093690 +++

Description of problem:

Memory - illegal accesses issues reported by Coverity.

CID      Type

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 :

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: