Blender Git Commit Log

Git Commits -> Revision 7491e12

August 10, 2021, 01:35 (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: 7491e12b1bc3ed36d381c3ce19bf18ec8eadab77
Parent Commit: 92c0e5f
Committed By: YimingWu
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