Bug 1358936

Summary: coverity: iobuf_get_page_aligned calling iobuf_get2 should check the return pointer
Product: [Community] GlusterFS Reporter: Zhou Zhengping <johnzzpcrystal>
Component: coreAssignee: Zhou Zhengping <johnzzpcrystal>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, sarumuga
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.9.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-03 11:21:31 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:

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>