Bug 763979 (GLUSTER-2247)

Summary: Add corresponding va_end
Product: [Community] GlusterFS Reporter: Sachidananda Urs <sac>
Component: coreAssignee: Sachidananda Urs <sac>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: gluster-bugs, saurabh, vijay
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 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.