Blender Git Commit Log

Git Commits -> Revision 2e6d427

Revision 2e6d427 by Bastien Montagne (master)
August 18, 2016, 14:06 (GMT)
Cleanup/security fix: do not use strcpy (at least in new code).

This function is only really secure in a very limited amount of cases,
and can especially bite you later if you change some buffer sizes...
So not worth bothering with it, just always use BLI_strncpy instead.

Commit Details:

Full Hash: 2e6d4270cdd4dab1964af4427f833846e4aef4a7
Parent Commit: 7b4ba65
Lines Changed: +9, -9

6 Modified Paths:

/source/blender/blenkernel/intern/gpencil.c (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_data.c (+2, -2) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+3, -3) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_gpencil.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021