Blender Git Loki

Git Commits -> Revision e2e5361

Revision e2e5361 by Campbell Barton (master)
January 12, 2011, 05:49 (GMT)
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.

Commit Details:

Full Hash: e2e5361eb2e4cb736bd31015eae9c88ba02d26c0
SVN Revision: 34274
Parent Commit: 6301814
Lines Changed: +8, -2

1 Modified Path:

/source/blender/blenlib/intern/BLI_dynstr.c (+8, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021