autofs-5.0.3 - fix ifc buff size fix From: Ian Kent <raven@themaw.net> Correct setting of beffer size in alloc_ifreq(). --- modules/replicated.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) --- autofs-5.0.1.orig/modules/replicated.c +++ autofs-5.0.1/modules/replicated.c @@ -108,7 +108,7 @@ static int alloc_ifreq(struct ifconf *if return 0; } - ifc->ifc_len = sizeof(buf); + ifc->ifc_len = len; ifc->ifc_req = (struct ifreq *) buf; ret = ioctl(sock, SIOCGIFCONF, ifc);