Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2017-04-25 13:05:55 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2017-04-25 13:06:03 +0300
commit3128600a8ab2badd9ea39c80133f15f766794ec6 (patch)
tree486b87dfa78fc7571e2727be69e4f16f43d0135d /source/blender/makesdna/DNA_cachefile_types.h
parent1f85a35a3db362124cc355ddc86588a434a613a5 (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/DNA_cachefile_types.h')
-rw-r--r--source/blender/makesdna/DNA_cachefile_types.h4
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;