Index: uspace/app/bdsh/input.c
===================================================================
--- uspace/app/bdsh/input.c	(revision 371a012cc2887f1f1866601f7d6d91881259b78c)
+++ uspace/app/bdsh/input.c	(revision 51ea01ea24be550122d17f52f62e0375f7c148f0)
@@ -55,5 +55,5 @@
 typedef struct {
 	/** Buffer holding text currently being edited */
-	wchar_t buffer[INPUT_MAX];
+	wchar_t buffer[INPUT_MAX + 1];
 	/** Screen coordinates of the top-left corner of the text field */
 	int col0, row0;
