Bug 763011 (GLUSTER-1279) - Buffer overflow build error
Summary: Buffer overflow build error
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-1279
Product: GlusterFS
Classification: Community
Component: build
Version: 3.1-alpha
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-04 07:32 UTC by Shehjar Tikoo
Modified: 2015-12-01 16:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: RTP
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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)


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