diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2017-04-25 13:05:55 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2017-04-25 13:06:03 +0300 |
commit | 3128600a8ab2badd9ea39c80133f15f766794ec6 (patch) | |
tree | 486b87dfa78fc7571e2727be69e4f16f43d0135d /source/blender/makesdna | |
parent | 1f85a35a3db362124cc355ddc86588a434a613a5 (diff) |
Fix T51262: Blender CRASH with alembic file
Also added a unit test for exporting & importing very long names.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_cachefile_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_cachefile_types.h b/source/blender/makesdna/DNA_cachefile_types.h index 46b1adf2725..e6fe8102b4f 100644 --- a/source/blender/makesdna/DNA_cachefile_types.h +++ b/source/blender/makesdna/DNA_cachefile_types.h @@ -50,7 +50,7 @@ enum { typedef struct AlembicObjectPath { struct AlembicObjectPath *next, *prev; - char path[1024]; /* 1024 = FILE_MAX, might use PATH_MAX in the future. */ + char path[4096]; /* 4096 = PATH_MAX */ } AlembicObjectPath; typedef struct CacheFile { @@ -64,7 +64,7 @@ typedef struct CacheFile { * CacheFile. */ ListBase object_paths; - char filepath[1024]; /* 1024 = FILE_MAX */ + char filepath[4096]; /* 4096 = PATH_MAX */ char is_sequence; char forward_axis; |