Reply To: svn-1659 crashes when SB tries to access

#12553
RobotChicken
Participant

Crash reason (?):
http://mt-daapd.svn.sourceforge.net/viewvc/mt-daapd/trunk/src/util.c?r1=1633&r2=1634&view=diff&diff_format=l

(1) In OpenBSD (what I am using) there is va_copy() but the it does not get picked up by util.c (no HAVE_*VA_COPY macros?)
(2) I think

VA_COPY(a,b) memcpy((a),(b),sizeof(b))

should be

VA_COPY(a,b) memcpy((&a),(&b),sizeof(b))