Blender Git Commit Log

Git Commits -> Revision 2796ee7

Revision 2796ee7 by Campbell Barton (master)
August 6, 2021, 13:01 (GMT)
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

Commit Details:

Full Hash: 2796ee7da049bbea3d83efdd42c3eaf1af1ebb2c
Parent Commit: 01c1b1e
Lines Changed: +1, -3

1 Modified Path:

/source/blender/io/alembic/intern/abc_reader_nurbs.cc (+1, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021