Bug 74251

Summary: missing va_end in vrpmlog()
Product: [Retired] Red Hat Linux Reporter: Radu Greab <radu>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 7.3   
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: 2002-09-18 18:47:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
obvious fix none

Description Radu Greab 2002-09-18 18:45:19 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826

Description of problem:
stdarg(3) says that "each invocation of va_copy must be matched by a
corresponding invocation of va_end in the same function".

The above does not happen for apc in vrpmlog() from rpmio/rpmlog.c.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Read the source.
2.
3.
	

Additional info:

Comment 1 Radu Greab 2002-09-18 18:47:02 UTC
Created attachment 76544 [details]
obvious fix

Comment 2 Jeff Johnson 2002-09-20 17:59:55 UTC
Nice catch, thanks for the patch. Fixed in rpm CVS.