Fix possible segfault in blender.
authorDiego Borghetti <bdiego@gmail.com>
Wed, 6 Jun 2007 15:11:16 +0000 (15:11 +0000)
committerDiego Borghetti <bdiego@gmail.com>
Wed, 6 Jun 2007 15:11:16 +0000 (15:11 +0000)
commitee0c3245e79845d6987ee40fd919cec1b7a635b1
tree8d2a8570abcc80807331db4fa3340a5622ed1282
parent9a78468ab05beb7f3cf5711e51f0be2cfe76b0e4
Fix possible segfault in blender.

tname can be bigger of 21 character, in that case
strncpy don't put the final '\0' to the name this.
source/blender/blenkernel/intern/library.c