find: support -HLP
[oweals/busybox.git] / shell / shell_common.c
index 780e27ebd4f05ea4b9015c45ffe8c4ca9935e5d6..0051f21d9eb08d878ff72d6c6dda984b265a12d2 100644 (file)
@@ -170,7 +170,7 @@ shell_builtin_read(void FAST_FUNC (*setvar)(const char *name, const char *val),
                int timeout;
 
                if ((bufpos & 0xff) == 0)
-                       buffer = xrealloc(buffer, bufpos + 0x100);
+                       buffer = xrealloc(buffer, bufpos + 0x101);
 
                timeout = -1;
                if (end_ms) {