We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 127e62a commit a8569a2Copy full SHA for a8569a2
agent/lib_php_amqplib.c
@@ -675,7 +675,7 @@ NR_PHP_WRAPPER(nr_rabbitmq_basic_get) {
675
*The retval should be an AMQPMessage. nr_php_is_zval_* ops do NULL checks
676
* as well.
677
*/
678
- if (nr_php_is_zval_valid_object(*retval_ptr)) {
+ if (NULL != retval_ptr && nr_php_is_zval_valid_object(*retval_ptr)) {
679
/*
680
* Get the exchange and routing key from the AMQPMessage
681
0 commit comments