va_copy() fix for vasprintf
authorKevin Wasserman <kevin.wasserman@painless-security.com>
Thu, 30 Jun 2011 15:27:10 +0000 (11:27 -0400)
committerSam Hartman <hartmans@debian.org>
Fri, 1 Jul 2011 10:20:21 +0000 (06:20 -0400)
commit657552a47b3251819d7cd7b4d544181b7f62df80
treebb869a1d9886d1dfa0380a746e0854eb2d422165
parent81781310c5125e8784c1113e8306aef8f4e3c6d4
va_copy() fix for vasprintf

memcpy, not memcmp; but don't even bother since assignment is sufficient.
Added comment explaining usage of va_copy and the extremely unlikely
scenario that could cause this code to fail.
moonshot/mech_eap/vasprintf.c