forked from bartvdbraak/blender
fix for allocations over 2gig crashing blender (even on 64 bit systems)
the memheader len would wrap to a negative number and when freeing it would write into the memheader.
This commit is contained in:
parent
91197621dc
commit
c80d0f1f85
@ -82,7 +82,7 @@ typedef struct localListBase
|
|||||||
/* note: keep this struct aligned (e.g., irix/gcc) - Hos */
|
/* note: keep this struct aligned (e.g., irix/gcc) - Hos */
|
||||||
typedef struct MemHead {
|
typedef struct MemHead {
|
||||||
int tag1;
|
int tag1;
|
||||||
int len;
|
unsigned int len;
|
||||||
struct MemHead *next,*prev;
|
struct MemHead *next,*prev;
|
||||||
const char * name;
|
const char * name;
|
||||||
const char * nextname;
|
const char * nextname;
|
||||||
|
Loading…
Reference in New Issue
Block a user