]> sourceware.org Git - lvm2.git/commit
va_list: properly pass va_list through functions
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 15 Sep 2014 13:33:56 +0000 (15:33 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 16 Sep 2014 09:42:40 +0000 (11:42 +0200)
commit1ce21c19d5894b889a6d8da67c8a159709c3dda9
treefa28d304876ef7be0061557178f8752545626c30
parentb9c16b750694c4ec03d05bc9e4a12cecc4d9450f
va_list: properly pass va_list through functions

Code should not just pass va_list arg through the function
as args could be passed in many strange ways.
Use va_copy().

For details look in i.e.:

http://julipedia.meroh.net/2011/09/using-vacopy-to-safely-pass-ap.html
WHATS_NEW
lib/format_text/export.c
libdaemon/client/daemon-client.c
This page took 0.03052 seconds and 5 git commands to generate.