From 7d00e04e615262f97953b9a3ec192acacbb2d44e Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 13 Sep 2002 18:32:10 +0000 Subject: [PATCH] /* */ --- stepmania/src/Crash.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/stepmania/src/Crash.cpp b/stepmania/src/Crash.cpp index 227b5d6660..1c66275535 100644 --- a/stepmania/src/Crash.cpp +++ b/stepmania/src/Crash.cpp @@ -1497,7 +1497,11 @@ void crash() { /* RageLog feeds us logs; keep track of recent logs in a circular * buffer. This lets us include recent logs in the crash report. * We don't want to include RageLog, since we don't want to pull - * in MFC. */ + * in MFC. + * + * Since this is a static, preallocated region, even if it gets + * trampled we'll just print garbage, not crash due to an invalid + * pointer. */ static const int BACKLOG_LINES = 10; static char backlog[BACKLOG_LINES][1024]; static int backlog_start=0, backlog_cnt=0;