From 44f4f1848dd8dc14ee41117e88a15a300c8a393f Mon Sep 17 00:00:00 2001 From: Eduardo Kienetz Date: Wed, 10 Feb 2021 23:49:37 -0500 Subject: [PATCH] Prepare PECL release 1.0.5 --- package.xml | 24 ++++++++++++++++++++---- php_smbclient.h | 2 +- smb_streams.c | 2 +- 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/package.xml b/package.xml index 1f903ac..226400f 100644 --- a/package.xml +++ b/package.xml @@ -22,10 +22,10 @@ remi@php.net yes - 2021-01-21 - + 2021-02-11 + - 1.0.4 + 1.0.5 0.8.0 @@ -34,7 +34,7 @@ BSD 2-clause - Check if smbc_setOptionProtocols is available, as at least one distro might have a libsmbclient that is too old. + Fixes possible segfault in php_smb_ops_close. @@ -82,6 +82,22 @@ smbclient + + 2021-02-11 + + 1.0.5 + 0.8.0 + + + stable + stable + + BSD 2-clause + + - Remi fixed a possible segfault. + - Minor documentation update. + + 2021-01-21 diff --git a/php_smbclient.h b/php_smbclient.h index 23a5f1f..129a550 100644 --- a/php_smbclient.h +++ b/php_smbclient.h @@ -43,7 +43,7 @@ #include -#define PHP_SMBCLIENT_VERSION "1.0.4" +#define PHP_SMBCLIENT_VERSION "1.0.5" extern zend_module_entry smbclient_module_entry; #define phpext_smbclient_ptr &smbclient_module_entry diff --git a/smb_streams.c b/smb_streams.c index f70c490..2ec1cb7 100644 --- a/smb_streams.c +++ b/smb_streams.c @@ -127,7 +127,7 @@ static php_smbclient_state *php_smb_pool_get(php_stream_context *context, const } } - /* Crate a new state and save it in the pool */ + /* Create a new state and save it in the pool */ pool = emalloc(sizeof(*pool)); memcpy(pool->hash, hash, 20); pool->nb = 1;