First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 145897
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: CJK Team <cjk@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Kevin F. Quinn (RETIRED) <kevquinn@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
a2ps-4.13-vacopy.patch Replace incorrect use of memcpy with va_copy(). patch Kevin F. Quinn (RETIRED) 2006-09-01 13:27 0000 1.14 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 145897 depends on: Show dependency tree
Bug 145897 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-09-01 13:25 0000
This shows up if the tests are run; the test that fails just does:

$ a2ps --list=options

which segfaults because the code is copying a va_list with memcpy, which is not
valid.

It'll fail on any platform for which va_list is a 1-element array of a
structure (see stdarg(3) for details).

Patch to follow.

------- Comment #1 From Kevin F. Quinn (RETIRED) 2006-09-01 13:27:12 0000 -------
Created an attachment (id=95671) [details]
Replace incorrect use of memcpy with va_copy().

------- Comment #2 From Kevin F. Quinn (RETIRED) 2006-09-01 13:28:36 0000 -------
Huh - fix is already in for later versions - oh well, I learned something even
if it wasn't necessary to do anything!

First Last Prev Next    No search results available      Search page      Enter new bug