From: Anatol Belski Date: Thu, 15 Sep 2016 11:12:26 +0000 (+0200) Subject: prevent flags overflows X-Git-Tag: php-7.2.0alpha1~1205 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b41973ba12947d569c436db2162d0be7c25e365;p=php prevent flags overflows Sometimes int is overflown. That might still come out with a right result, but is ofc not clean. --- diff --git a/main/php_streams.h b/main/php_streams.h index 5da29a2f4f..e205118bd7 100644 --- a/main/php_streams.h +++ b/main/php_streams.h @@ -210,7 +210,7 @@ struct _php_stream { char *orig_path; zend_resource *ctx; - int flags; /* PHP_STREAM_FLAG_XXX */ + uint32_t flags; /* PHP_STREAM_FLAG_XXX */ int eof;