diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-08-06 16:01:57 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-08-06 16:01:57 +0300 |
commit | 2796ee7da049bbea3d83efdd42c3eaf1af1ebb2c (patch) | |
tree | 852d7e6b27f97af2305fb3c2649e994a81662f5f /source/blender/blenkernel/intern/workspace.c | |
parent | 01c1b1e82e5f59ea84686f7756086f0421e93c5f (diff) |
Fix error setting the ID name in disabled alembic nurbs importe
This corrects code that's currently disabled, see `USE_NURBS` define.
The name passed to `BKE_curve_add` was overwritten,
bypassing uniqueness and utf8 encoding checks.
Longer names would cause a buffer overrun as the length of the source
data was passed to `BLI_strncpy` instead of the destination.
Reviewed By: sybren
Ref D12125
Diffstat (limited to 'source/blender/blenkernel/intern/workspace.c')
0 files changed, 0 insertions, 0 deletions