summaryrefslogtreecommitdiff
path: root/win/Propspgs.cpp
diff options
context:
space:
mode:
authorleo2003-09-12 01:51:59 +0000
committerleo2003-09-12 01:51:59 +0000
commit3df8b99fe7e3961006ab4cd4a3bdc33c7c2b7e51 (patch)
tree790a8a6e2c22b119b0b177fb2f22ada40dd8193c /win/Propspgs.cpp
parent4150867a5436815261c9d0acee7ceeb4397ee684 (diff)
Fixed buffer overrun bug.
git-svn-id: http://svn.leocad.org/trunk@348 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/Propspgs.cpp')
-rw-r--r--win/Propspgs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/Propspgs.cpp b/win/Propspgs.cpp
index 5ac47ce..4bd242e 100644
--- a/win/Propspgs.cpp
+++ b/win/Propspgs.cpp
@@ -155,7 +155,7 @@ BOOL CPropertiesPieces::OnInitDialog()
{
CPropertyPage::OnInitDialog();
- char tmp[4];
+ char tmp[64];
int i, j;
memset (&totalcount, 0, sizeof (totalcount));
for (i = 0; i < lines; i++)