diff options
| author | Sriram Natarajan <srinatar@php.net> | 2009-10-02 00:13:53 +0000 |
|---|---|---|
| committer | Sriram Natarajan <srinatar@php.net> | 2009-10-02 00:13:53 +0000 |
| commit | 0f57b15e23758b0e1a1bdfe9260b50bcdb9750f2 (patch) | |
| tree | 9ad1071b515b6e9dd4cb21191260ae0e8729624c /ext/mcrypt/mcrypt.c | |
| parent | a71da78442ec6f32ed217a002ece700833f5c1ea (diff) | |
| download | php-git-0f57b15e23758b0e1a1bdfe9260b50bcdb9750f2.tar.gz | |
- Fixed bug #49738 (calling mcrypt after mcrypt_generic_deinit crashes).
Diffstat (limited to 'ext/mcrypt/mcrypt.c')
| -rw-r--r-- | ext/mcrypt/mcrypt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mcrypt/mcrypt.c b/ext/mcrypt/mcrypt.c index 1a5646eac1..d14809a504 100644 --- a/ext/mcrypt/mcrypt.c +++ b/ext/mcrypt/mcrypt.c @@ -780,6 +780,7 @@ PHP_FUNCTION(mcrypt_generic_deinit) php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not terminate encryption specifier"); RETURN_FALSE } + pm->init = 0; RETURN_TRUE } /* }}} */ |
