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)
commitaea38d9f40074611bf35a0c2a939310e59c34d59
tree47c74f697c45a764f9e94c6271ddf08818463fe0
parent5797ef6c01c45c7869cab7942b841b3d16900177
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.
mech_eap/vasprintf.c