mirror of
https://github.com/lighttransport/tinyusdz.git
synced 2026-01-18 01:11:17 +01:00
- Fix move constructor/assignment operator to transfer value array storage fields (_value_array_storage, _value_array_refs, _use_value_array) - Fix copy constructor/assignment operator for value array storage fields - Add bounds checking for blocked[] and offsets[] array access in pprint - Strip TYPE_ID_1D_ARRAY_BIT before type lookup in print_pod_value_dispatch and get_pod_type_size to handle array element types correctly - Add handler for value array storage path in get_samples() - Set _use_pod=false when using value array storage This fixes the "Unknown type_id: 1048618" error when printing array-typed timeSamples (e.g., color3f[]) and prevents heap-buffer-overflow when printing timeSamples with None values. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
16 lines
270 B
Bash
Executable File
16 lines
270 B
Bash
Executable File
curdir=`pwd`
|
|
|
|
builddir=${curdir}/build_asan
|
|
|
|
rm -rf ${builddir}
|
|
mkdir ${builddir}
|
|
|
|
# with lld linker
|
|
# -DCMAKE_TOOLCHAIN_FILE=cmake/lld-linux.toolchain.cmake
|
|
|
|
cd ${builddir} && CXX=clang++ CC=clang cmake \
|
|
-DSANITIZE_ADDRESS=1 \
|
|
-DCMAKE_VERBOSE_MAKEFILE=1 \
|
|
..
|
|
|