Bug 763442 (GLUSTER-1710)

Summary: build warning
Product: [Community] GlusterFS Reporter: Amar Tumballi <amarts>
Component: buildAssignee: Amar Tumballi <amarts>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: low    
Version: mainlineCC: gluster-bugs, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Amar Tumballi 2010-09-27 06:34:40 UTC
In file included from /usr/include/stdio.h:910,
                 from ../../../../../libglusterfs/src/glusterfs.h:28,
                 from ../../../../../libglusterfs/src/globals.h:29,
                 from ../../../../../xlators/mgmt/glusterd/src/glusterd-handler.c:27:
In function ‘snprintf’,
    inlined from ‘glusterd_handle_add_brick’ at ../../../../../xlators/mgmt/glusterd/src/glusterd-handler.c:1504:
/usr/include/bits/stdio2.h:65: warning: call to __builtin___snprintf_chk will always overflow destination buffer


This is marked critical because with FORTIFY-SOURCE option for gcc, it crashes.

Comment 1 Vijay Bellur 2010-09-27 14:47:42 UTC
PATCH: http://patches.gluster.com/patch/4991 in master (fix a build warning about stack overflow)