FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Nightlies Feedback › svn-1659 crashes when SB tries to access › Reply To: svn-1659 crashes when SB tries to access
29/09/2007 at 10:03 PM
#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))