BLI_dynstr_vappendf() was crashing with strings above 256 chars, this happens with...
authorCampbell Barton <ideasman42@gmail.com>
Wed, 12 Jan 2011 05:49:33 +0000 (05:49 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 12 Jan 2011 05:49:33 +0000 (05:49 +0000)
commite2e5361eb2e4cb736bd31015eae9c88ba02d26c0
treee417dc3f9f6667a9719061fd9ee496e13439a1e9
parent63018144badeb10c858504c918a3f66047c068b0
BLI_dynstr_vappendf() was crashing with strings above 256 chars, this happens with some long reports.
Problem was using va_list value more then once, fix by using va_copy().

Note, va_copy() is c99 spec but only alternative I can see is to turn BLI_dynstr_vappendf() into a macro which calls va_start/end inline.
source/blender/blenlib/intern/BLI_dynstr.c