Bug 1358936 - coverity: iobuf_get_page_aligned calling iobuf_get2 should check the return pointer
Summary: coverity: iobuf_get_page_aligned calling iobuf_get2 should check the return p...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zhou Zhengping
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-21 20:09 UTC by Zhou Zhengping
Modified: 2017-01-03 11:21 UTC (History)
2 users (show)

Fixed In Version: 3.9.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-03 11:21:31 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Zhou Zhengping 2016-07-21 20:09:05 UTC
Description of problem:
CID: 1357868

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Vijay Bellur 2016-07-21 20:14:09 UTC
REVIEW: http://review.gluster.org/14976 (core: coverity, NULL potinter check) posted (#1) for review on master by Zhou Zhengping (johnzzpcrystal)

Comment 2 Vijay Bellur 2016-07-22 15:12:38 UTC
COMMIT: http://review.gluster.org/14976 committed in master by Jeff Darcy (jdarcy) 
------
commit b76ac27f6fe2a183c350f236e3da16f38189e4a8
Author: Zhou Zhengping <johnzzpcrystal>
Date:   Fri Jul 22 04:09:15 2016 +0800

    core: coverity, NULL potinter check
    
    iobuf_get_page_aligned should check the return pointer
    after calling iobuf_get2.
    
    CID: 1357868
    
    Change-Id: I3aa5b09bce2225aa70cf3c60a6b6f4e4eca1dee6
    BUG: 1358936
    Signed-off-by: Zhou Zhengping <johnzzpcrystal>
    Reviewed-on: http://review.gluster.org/14976
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Jeff Darcy <jdarcy>


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