diff options
Diffstat (limited to 'meta/recipes-extended/man/man-1.6f/man-1.5i2-newline.patch')
-rw-r--r-- | meta/recipes-extended/man/man-1.6f/man-1.5i2-newline.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-extended/man/man-1.6f/man-1.5i2-newline.patch b/meta/recipes-extended/man/man-1.6f/man-1.5i2-newline.patch new file mode 100644 index 0000000000..da95d5ad18 --- /dev/null +++ b/meta/recipes-extended/man/man-1.6f/man-1.5i2-newline.patch @@ -0,0 +1,11 @@ +--- src/man.c 2008-12-21 19:17:31.000000000 +0100 ++++ src/man.c.oden 2008-12-21 19:17:38.000000000 +0100 +@@ -391,7 +391,7 @@ again: + beg++; + + end = beg; +- while (*end != ' ' && *end != '\t' && *end != '\n' && *end != '\0') ++ while (*end != ' ' && *end != '\t' && *end != '\n' && *end != '\0' && (end-buf)<BUFSIZE) + end++; /* note that buf is NUL-terminated */ + *end = '\0'; + |