Bug 763442 (GLUSTER-1710) - build warning
Summary: build warning
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-1710
Product: GlusterFS
Classification: Community
Component: build
Version: mainline
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-27 06:34 UTC by Amar Tumballi
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: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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)


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