From: Jani Taskinen Date: Mon, 5 Nov 2007 16:14:11 +0000 (+0000) Subject: ws X-Git-Tag: RELEASE_2_0_0a1~1460 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b1447733b78b5a9f477362918625112471127e74;p=php ws --- diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c index 3b9ad8cf2d..d9e885c812 100644 --- a/ext/standard/filestat.c +++ b/ext/standard/filestat.c @@ -439,7 +439,7 @@ static void php_do_chgrp(INTERNAL_FUNCTION_PARAMETERS, int do_lchgrp) /* {{{ */ struct group *retgrptr; long grbuflen = sysconf(_SC_GETGR_R_SIZE_MAX); char *grbuf; - + if (grbuflen < 1) { RETURN_FALSE; }