Bug 763011 (GLUSTER-1279)

Summary: Buffer overflow build error
Product: [Community] GlusterFS Reporter: Shehjar Tikoo <shehjart>
Component: buildAssignee: Amar Tumballi <amarts>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 3.1-alphaCC: 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: RTP Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Shehjar Tikoo 2010-08-04 07:32:36 UTC
In file included from /usr/include/stdio.h:910,
                 from ../../libglusterfs/src/xlator.h:28,
                 from ../../libglusterfs/src/stack.h:42,
                 from ../../rpc/rpc-lib/src/rpc-clnt.h:23,
                 from cli.h:28,
                 from cli3_1-cops.c:26:
In function ‘snprintf’,
    inlined from ‘gf_cli3_1_get_volume_cbk’ at cli3_1-cops.c:313:
/usr/include/bits/stdio2.h:65: warning: call to __builtin___snprintf_chk will always overflow destination buffer


System is:
2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 04:38:19 UTC 2010 x86_64 GNU/Linux

Comment 1 Anand Avati 2010-08-06 07:37:14 UTC
PATCH: http://patches.gluster.com/patch/3989 in master (cli: fix a stack buffer overflow error)