Temporary hack to unbreak user/group lookups;
use a larger buffer for getpwuid_r/getgrgid_r. This needs to be dynamically sized.
This commit is contained in:
parent
8403b16a59
commit
4ef9925138
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=190699
@ -182,7 +182,7 @@ lookup_uname(void *data, uid_t uid)
|
||||
static const char *
|
||||
lookup_uname_helper(struct archive *a, id_t id)
|
||||
{
|
||||
char buffer[64];
|
||||
char buffer[512];
|
||||
struct passwd pwent, *result;
|
||||
int r;
|
||||
|
||||
@ -210,7 +210,7 @@ lookup_gname(void *data, gid_t gid)
|
||||
static const char *
|
||||
lookup_gname_helper(struct archive *a, id_t id)
|
||||
{
|
||||
char buffer[64];
|
||||
char buffer[512];
|
||||
struct group grent, *result;
|
||||
int r;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user