Re: [PATCH] Check the return value of do_fstat() to avoid error conditions.
| From: | Joshua Rogers | Date: | Tue, 27 Jan 2015 00:39:28 +0000 |
| Subject: | Re: [PATCH] Check the return value of do_fstat() to avoid error conditions. | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-81187@lists.php.net to get a copy of this message | ||
On 27/01/15 11:35, Yasuo Ohgaki wrote:
> This patch seems reasonable. Does anyone taking care of this?
Perhaps it should be
if(do_fstat(data, 1)<0) {
return -1;
}
just to conform with the rest of the code
--
-- Joshua Rogers <https://internot.info/>
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc