Allocate one more character, so that the terminating
nullbyte can be copied.
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 7e455a5..9937705 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -427,7 +427,7 @@
 	}
     }
 
-    unicode = _PyUnicode_New(size);
+    unicode = _PyUnicode_New(size+1);
     if (!unicode)
         return NULL;