Bug 1347354

Summary: glusterd: SuSE build system error for incorrect strcat, strncat usage
Product: [Community] GlusterFS Reporter: Kaleb KEITHLEY <kkeithle>
Component: glusterdAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1347355 (view as bug list) Environment:
Last Closed: 2016-12-06 05:26:30 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:    
Bug Blocks: 1347355    

Description Kaleb KEITHLEY 2016-06-16 15:10:34 UTC
Description of problem:

SuSE build system does post-compile analysis of compile warnings and
aborts the build of packages for a warning in xlators/mgmt/glusterd/src/glusted-geo-rep.c's glusterd_op_stage_gsync_create()


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-06-16 15:28:05 UTC
REVIEW: http://review.gluster.org/14745 (glusterd: unsafe strcat, strncat use in glusterd_op_stage_gsync_create()) posted (#1) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 2 Vijay Bellur 2016-06-16 19:31:53 UTC
COMMIT: http://review.gluster.org/14745 committed in master by Jeff Darcy (jdarcy) 
------
commit ae4a410cb411c3f1b5ebac9d49d47e2fc00c9a74
Author: Kaleb S KEITHLEY <kkeithle>
Date:   Thu Jun 16 11:24:30 2016 -0400

    glusterd: unsafe strcat, strncat use in glusterd_op_stage_gsync_create()
    
    SuSE build system post-compile analysis aborts pkg build due to
    unsafe strcat, strncat usage.
    
    Change-Id: I52ac41e1172d0c1e5695a91b9f731cc9e7de4db4
    BUG: 1347354
    Signed-off-by: Kaleb S KEITHLEY <kkeithle>
    Reviewed-on: http://review.gluster.org/14745
    Smoke: Gluster Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: Jeff Darcy <jdarcy>