Blender Git Loki

Git Commits -> Revision 2b6f35d

Revision 2b6f35d by Campbell Barton (master)
July 15, 2013, 05:09 (GMT)
fix for error in string copy
- BLI_strncpy_wchar_from_utf8 wasn't NULL terminating the destination string, caused uninitialized memory use in BPY_python_start().
- BLI_strncpy_wchar_as_utf8 could write one byte past the buffer bounds.

Commit Details:

Full Hash: 2b6f35d686a35a347aec93cae2f018b1f7312834
SVN Revision: 58254
Parent Commit: 02f5b0f
Lines Changed: +13, -8

3 Modified Paths:

/source/blender/blenkernel/intern/font.c (+1, -1) (Diff)
/source/blender/blenlib/intern/string_utf8.c (+11, -6) (Diff)
/source/blender/editors/curve/editfont.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021