Bug 763979 (GLUSTER-2247) - Add corresponding va_end
Summary: Add corresponding va_end
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-2247
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Sachidananda Urs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-23 07:48 UTC by Sachidananda Urs
Modified: 2011-04-11 05:45 UTC (History)
3 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 Sachidananda Urs 2010-12-23 07:48:48 UTC
---- cli.c:cli_out ----

        va_start (ap, fmt);

#ifdef HAVE_READLINE
        if (state->rl_enabled && !state->rl_processing)
                return cli_rl_out(state, fmt, ap);
#endif

        ret = vprintf (fmt, ap);
        printf ("\n");

---- cli.c:cli_out ----

Man page says: Each  invocation  of  va_start()  must  be  matched  by  a corresponding invocation of va_end() in the same function.

Comment 1 Anand Avati 2011-01-07 22:58:52 UTC
PATCH: http://patches.gluster.com/patch/5967 in master (Add corresponding va_end.)

Comment 2 Saurabh 2011-03-11 07:36:24 UTC
Please update the target milestone and the test plan

Comment 3 Saurabh 2011-04-11 02:45:09 UTC
checked the code and the changes are there.


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