Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 400889
Collapse All | Expand All

(-)suhosin-0.9.33/php_suhosin.h (-1 / +1 lines)
Lines 308-314 Link Here
308
char *suhosin_cookie_decryptor(TSRMLS_D);
308
char *suhosin_cookie_decryptor(TSRMLS_D);
309
char *suhosin_getenv(char *name, size_t name_len TSRMLS_DC);
309
char *suhosin_getenv(char *name, size_t name_len TSRMLS_DC);
310
void suhosin_hook_post_handlers(TSRMLS_D);
310
void suhosin_hook_post_handlers(TSRMLS_D);
311
void suhosin_unhook_post_handlers();
311
void suhosin_unhook_post_handlers(TSRMLS_D);
312
void suhosin_hook_register_server_variables();
312
void suhosin_hook_register_server_variables();
313
void suhosin_hook_header_handler();
313
void suhosin_hook_header_handler();
314
void suhosin_unhook_header_handler();
314
void suhosin_unhook_header_handler();
(-)suhosin-0.9.33/post_handler.c (-3 / +1 lines)
Lines 162-168 Link Here
162
	ini_entry->on_modify = suhosin_OnUpdate_mbstring_encoding_translation;
162
	ini_entry->on_modify = suhosin_OnUpdate_mbstring_encoding_translation;
163
}
163
}
164
164
165
void suhosin_unhook_post_handlers()
165
void suhosin_unhook_post_handlers(TSRMLS_D)
166
{
166
{
167
	zend_ini_entry *ini_entry;
167
	zend_ini_entry *ini_entry;
168
168
Lines 186-190 Link Here
186
 * vim600: noet sw=4 ts=4 fdm=marker
186
 * vim600: noet sw=4 ts=4 fdm=marker
187
 * vim<600: noet sw=4 ts=4
187
 * vim<600: noet sw=4 ts=4
188
 */
188
 */
189
190
(-)suhosin-0.9.33/session.c (-10 / +10 lines)
Lines 1-19 Link Here
1
/*
1
/*
2
  +----------------------------------------------------------------------+
2
  +----------------------------------------------------------------------+
3
  | Suhosin Version 1                            |
3
  | Suhosin Version 1                                                    |
4
  +----------------------------------------------------------------------+
4
  +----------------------------------------------------------------------+
5
  | Copyright (c) 2006-2007 The Hardened-PHP Project             |
5
  | Copyright (c) 2006-2007 The Hardened-PHP Project                     |
6
  | Copyright (c) 2007-2012 SektionEins GmbH                 |
6
  | Copyright (c) 2007-2012 SektionEins GmbH                             |
7
  +----------------------------------------------------------------------+
7
  +----------------------------------------------------------------------+
8
  | This source file is subject to version 3.01 of the PHP license,  |
8
  | This source file is subject to version 3.01 of the PHP license,      |
9
  | that is bundled with this package in the file LICENSE, and is    |
9
  | that is bundled with this package in the file LICENSE, and is        |
10
  | available through the world-wide-web at the following url:       |
10
  | available through the world-wide-web at the following url:           |
11
  | http://www.php.net/license/3_01.txt                  |
11
  | http://www.php.net/license/3_01.txt                                  |
12
  | If you did not receive a copy of the PHP license and are unable to   |
12
  | If you did not receive a copy of the PHP license and are unable to   |
13
  | obtain it through the world-wide-web, please send a note to      |
13
  | obtain it through the world-wide-web, please send a note to          |
14
  | license@php.net so we can mail you a copy immediately.       |
14
  | license@php.net so we can mail you a copy immediately.               |
15
  +----------------------------------------------------------------------+
15
  +----------------------------------------------------------------------+
16
  | Author: Stefan Esser <sesser@sektioneins.de>             |
16
  | Author: Stefan Esser <sesser@sektioneins.de>                         |
17
  +----------------------------------------------------------------------+
17
  +----------------------------------------------------------------------+
18
*/
18
*/
19
/*
19
/*
(-)suhosin-0.9.33/suhosin.c (-1 / +4 lines)
Lines 189-197 Link Here
189
189
190
static void suhosin_shutdown(zend_extension *extension)
190
static void suhosin_shutdown(zend_extension *extension)
191
{
191
{
192
	TSRMLS_FETCH();
193
194
	suhosin_unhook_session(TSRMLS_C);
192
	suhosin_unhook_execute();
195
	suhosin_unhook_execute();
193
	suhosin_unhook_header_handler();
196
	suhosin_unhook_header_handler();
194
	suhosin_unhook_post_handlers();
197
	suhosin_unhook_post_handlers(TSRMLS_C);
195
    
198
    
196
    if (ze != NULL) {
199
    if (ze != NULL) {
197
	    ze->startup = orig_module_startup;
200
	    ze->startup = orig_module_startup;

Return to bug 400889