]> granicus.if.org Git - python/commitdiff
Reduce buffer size since we do not need 1k
authorNeal Norwitz <nnorwitz@gmail.com>
Sun, 27 Jan 2008 17:12:15 +0000 (17:12 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sun, 27 Jan 2008 17:12:15 +0000 (17:12 +0000)
Python/ceval.c

index 3e0ff7694415fdeff6d30c98a00b1517bb22bd08..db9ce7dcd465e7f9647f0bb022e32c2a5fc9643d 100644 (file)
@@ -2492,7 +2492,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
                else {
                        /* This check is expensive! */
                        if (PyErr_Occurred()) {
-                               char buf[1024];
+                               char buf[128];
                                sprintf(buf, "Stack unwind with exception "
                                        "set and why=%d", why);
                                Py_FatalError(buf);