Bug 74251 - missing va_end in vrpmlog()
missing va_end in vrpmlog()
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Jeff Johnson
Depends On:
  Show dependency treegraph
Reported: 2002-09-18 14:45 EDT by Radu Greab
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-09-18 14:47:08 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
obvious fix (280 bytes, patch)
2002-09-18 14:47 EDT, Radu Greab
no flags Details | Diff

  None (edit)
Description Radu Greab 2002-09-18 14:45:19 EDT
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:

Steps to Reproduce:
1.Read the source.

Additional info:
Comment 1 Radu Greab 2002-09-18 14:47:02 EDT
Created attachment 76544 [details]
obvious fix
Comment 2 Jeff Johnson 2002-09-20 13:59:55 EDT
Nice catch, thanks for the patch. Fixed in rpm CVS.

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