diff options
author | Remi Collet <remi@remirepo.net> | 2023-08-03 07:57:55 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-08-03 07:57:55 +0200 |
commit | fd227d7195365a73be994c359ddae2702ecd9ddf (patch) | |
tree | 36754ee30dee63725a47e3d245f6f57000a43cda /amqp-pr455.patch | |
parent | 02b63ef16d57ed753e491af50032420e85329b21 (diff) |
update to 2.0.0beta1
fix segfault in test suite using patch from
https://github.com/php-amqp/php-amqp/pull/455
Diffstat (limited to 'amqp-pr455.patch')
-rw-r--r-- | amqp-pr455.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/amqp-pr455.patch b/amqp-pr455.patch new file mode 100644 index 0000000..0d705e3 --- /dev/null +++ b/amqp-pr455.patch @@ -0,0 +1,22 @@ +From 60ffb76b339dc92f5adcbe44c8852c27769b2250 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Thu, 3 Aug 2023 07:41:46 +0200 +Subject: [PATCH] Fix #454 segfault in setPort + +--- + amqp_connection.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/amqp_connection.c b/amqp_connection.c +index 40c2859d..d8f71b12 100644 +--- a/amqp_connection.c ++++ b/amqp_connection.c +@@ -1165,7 +1165,7 @@ static PHP_METHOD(amqp_connection_class, getPort) + set the port */ + static PHP_METHOD(amqp_connection_class, setPort) + { +- int port; ++ zend_long port; + + /* Get the port from the method params */ + if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &port) == FAILURE) { |