From b636c03426193ecf0b7e166126a14b70ce8185e9 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Mon, 21 Oct 2013 15:09:29 +0400 Subject: [PATCH] fix bug #65936 (dangling context pointer causes crash) reported by Leon Sorokin --- NEWS | 1 + ext/standard/basic_functions.c | 1 + 2 files changed, 2 insertions(+) diff --git a/NEWS b/NEWS index a3d075af09..69b1658158 100644 --- a/NEWS +++ b/NEWS @@ -14,6 +14,7 @@ PHP NEWS . Fixed bug #65322 (compile time errors won't trigger auto loading). (Nikita) . Fixed bug #65821 (By-ref foreach on property access of string offset segfaults). (Nikita) + . Fixed bug #65936 (dangling context pointer causes crash). (Tony) - CLI server: . Fixed bug #65633 (built-in server treat some http headers as diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index eca7d90368..b4128e066b 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -3639,6 +3639,7 @@ PHP_MINIT_FUNCTION(basic) /* {{{ */ BASIC_ADD_SUBMODULE(dl) BASIC_ADD_SUBMODULE(mail) + BASIC_ADD_SUBMODULE(streams) BASIC_MINIT_SUBMODULE(file) BASIC_MINIT_SUBMODULE(pack) BASIC_MINIT_SUBMODULE(browscap) -- 2.40.0