+2013-07-29 Brad Hubbard <badone-guest@alioth.debian.org>
+
+ * lib/groupio.c: add newline char when two lines
+ are concatenated
+ Closes: alioth#313942
+
2013-07-28 Guido Trentalancia <guido@trentalancia.com>
* etc/login.defs: fix typographic errors and use a better format
}
/* Concatenate the 2 lines */
- new_line_len = strlen (gr1->line) + strlen (gr2->line) +1;
+ new_line_len = strlen (gr1->line) + strlen (gr2->line) +2;
new_line = (char *)malloc ((new_line_len + 1) * sizeof(char*));
if (NULL == new_line) {
errno = ENOMEM;