]> granicus.if.org Git - shadow/commit
Do not allocate more than necessary
authorNicolas François <nicolas.francois@centraliens.net>
Sun, 4 Aug 2013 13:36:13 +0000 (15:36 +0200)
committerNicolas François <nicolas.francois@centraliens.net>
Sun, 4 Aug 2013 13:36:13 +0000 (15:36 +0200)
commit0d66002c9528f86a06f9ca7390fe5e29718e43f1
tree4a29b7d18797b652de6370953063fca7ea677394
parente8ab31d009cafa6f3cf9e8364a647f5af9e08161
Do not allocate more than necessary

Review b10cba0e0af5b1e3e8cda0201d5563f085aab2a4 and 7a16f4582da2b854a0adcba445bf6f8d750b2919:
* lib/groupio.c (merge_group_entries): Do not allocate more than
necessary (sizeof char* instead of char).
Thanks for Tomáš Mráz (alioth#313962)
* lib/groupio.c (merge_group_entries): Document that new_members
is correctly NULL terminated. (alioth:#313940)

Align previous ChangeLog entries.
ChangeLog
lib/groupio.c