Bug 1686897 - [CodeChange][Coverity] RETURN_LOCAL in __nlc_inode_ctx_get()
Summary: [CodeChange][Coverity] RETURN_LOCAL in __nlc_inode_ctx_get()
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: core
Version: rhgs-3.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: RHGS 3.5.z Batch Update 3
Assignee: Rinku
QA Contact: Prasanth
URL:
Whiteboard:
Depends On:
Blocks: 1732496
TreeView+ depends on / blocked
 
Reported: 2019-03-08 15:54 UTC by Milind Changire
Modified: 2020-12-17 04:50 UTC (History)
8 users (show)

Fixed In Version: glusterfs-6.0-38
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1732496 (view as bug list)
Environment:
Last Closed: 2020-12-17 04:50:16 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:5603 0 None None None 2020-12-17 04:50:47 UTC

Description Milind Changire 2019-03-08 15:54:13 UTC
Description of problem:
RETURN_LOCAL in __nlc_inode_ctx_get()


glusterfs-3.12.2/xlators/performance/nl-cache/src/nl-cache-helper.c:162: escape_local_addr_alias: Returning, through "*nlc_pe_p", pointer "nlc_pe" which points to local variable "nlc_pe_int". 

Version-Release number of selected component (if applicable):
RHGS 3.4.3 (glusterfs-3.12.2-40)

How reproducible:
https://cov01.lab.eng.brq.redhat.com/covscanhub/waiving/30395/110753/

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Mohit Agrawal 2019-11-25 07:27:50 UTC
Patch is already posted on upstream
https://review.gluster.org/#/c/glusterfs/+/23093/

Comment 12 Yaniv Kaul 2020-10-05 08:54:10 UTC
CodeChange - moving to VERIFIED.

Comment 14 errata-xmlrpc 2020-12-17 04:50:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (glusterfs bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:5603


Note You need to log in before you can comment on or make changes to this bug.