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:
authorAndrea Weikert <elubie@gmx.net>2006-06-15 23:29:25 +0400
committerAndrea Weikert <elubie@gmx.net>2006-06-15 23:29:25 +0400
commitf4b4a2bb50669fd6aeab65754224d3a7ac3a2e48 (patch)
tree79b529ad61d6a51487303031804f41465de2d01c
parent0b8cfd4042b022a9ab59e1542caec0084609304c (diff)
bugfix for overwriting memory when copying library name into too short char[]
-rw-r--r--source/blender/src/drawoops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawoops.c b/source/blender/src/drawoops.c
index dbf245179df..01095798444 100644
--- a/source/blender/src/drawoops.c
+++ b/source/blender/src/drawoops.c
@@ -329,7 +329,7 @@ void draw_oops(Oops *oops)
float v1[2], x1, y1, x2, y2, f1, f2;
unsigned int body, border;
short line= 0;
- char str[32];
+ char str[FILE_MAXDIR+FILE_MAXFILE+5];
x1= oops->x;
x2= oops->x+OOPSX;