commit 122e6709151190e29b101180d3bf2db5f5c1ac10 parent 72a393b284ce994e267d97e717b1a5d921f26942 Author: Michael Savage <mikejsavage@gmail.com> Date: Sat Mar 4 14:47:28 +0200 Fix segfault in ggformat Diffstat:
ggformat.cc | | | 2 | +- |
diff --git a/ggformat.cc b/ggformat.cc @@ -7,7 +7,7 @@ #include "platform_io.h" struct ShortString { - char buf[ 16 ]; + char buf[ 16 ] = ""; size_t length = 0; void operator+=( int x ) {