=== modified file 'storage/ndb/src/kernel/error/ErrorReporter.cpp'
--- a/storage/ndb/src/kernel/error/ErrorReporter.cpp	2008-04-22 19:36:05 +0000
+++ b/storage/ndb/src/kernel/error/ErrorReporter.cpp	2008-08-26 15:33:54 +0000
@@ -149,7 +149,8 @@
     strcat(messptr, " ");
   }
   
-  strcat(messptr, "\n");
+  messptr[MESSAGE_LENGTH -2]='\n';
+  messptr[MESSAGE_LENGTH -1]=0;
   
   return;
 }


