=== modified file 'src/format/Format.cc'
--- src/format/Format.cc	2012-08-28 19:12:13 +0000
+++ src/format/Format.cc	2012-08-30 07:20:14 +0000
@@ -1070,11 +1070,8 @@
 
                 case LOG_QUOTE_QUOTES: {
                     size_t out_len = static_cast<size_t>(strlen(out)) * 2 + 1;
-                    if (out_len >= sizeof(tmp)) {
-                        newout = (char *)xmalloc(out_len);
-                        newfree = 1;
-                    } else
-                        newout = tmp;
+                    newout = (char *)xmalloc(out_len);
+                    newfree = 1;
                     log_quoted_string(out, newout);
                 }
                 break;


