Maxim Konovalov 0ec15b18a2 o compat_group() and files_group() are more complicated than I thought
in rev. 1.34.  Mainly I missed the fact that the buffer is used for two
purposes:

1) storing a group line from the group file;

2) __gr_parse_entry() parses the buffer and tries to put the group
members to the remaining part of the buffer and can fail if there
is no enough room for them.

Re-arrange the buffer size checks to account the latter case.

Submitted by:	Kirk R Webb
MFC after:	2 weeks
2006-07-14 17:45:33 +00:00
..
2006-04-12 19:51:14 +00:00
2005-02-13 23:45:54 +00:00
2005-10-04 22:00:35 +00:00
2005-11-24 10:43:35 +00:00
2006-04-13 08:12:31 +00:00
2006-03-16 15:18:17 +00:00
2004-12-29 02:18:24 +00:00
2006-06-05 08:51:14 +00:00
2006-02-11 19:21:39 +00:00
2006-03-16 15:18:17 +00:00
2006-06-06 16:58:19 +00:00
2006-03-16 15:18:17 +00:00
2006-05-17 05:14:45 +00:00
2005-09-26 06:23:43 +00:00
2005-11-24 11:26:36 +00:00
2006-07-12 14:33:52 +00:00
2006-03-23 14:09:21 +00:00