phpList / phplist3

Fully functional Open Source email marketing manager for creating, sending, integrating, and analysing email campaigns and newsletters.
https://www.phplist.org
GNU Affero General Public License v3.0
737 stars 268 forks source link

protect the invocation of the function output() #959

Closed enricozamprogno closed 1 year ago

enricozamprogno commented 1 year ago

during bounce processing the function output() can be called without be defined this is my call stack ( 3.6.13-RC1 )

( ! ) Error: Call to undefined function output() in /var/www/html/bollettino/lists/admin/lib.php on line 962 Call Stack

Time Memory Function Location

1 0.0001 394128 {main}( ) .../index.php:0 2 0.0158 949696 include( '/var/www/html/bollettino/lists/admin/processbounces.php ) .../index.php:759 3 0.0158 933424 getPageLock( $force = ??? ) .../processbounces.php:488

Description

Calling the function only if it was already declared

Related Issue

Screenshots (if appropriate):

michield commented 1 year ago

Thanks for this. Before we review and merge, do you mind signing the CLA?

Thanks

enricozamprogno commented 1 year ago

OK. CLA signed

phpListDockerBot commented 11 months ago

This pull request has been mentioned on phpList Discuss. There might be relevant details there:

https://discuss.phplist.org/t/3-6-14-release-candidate-ready-for-testing/9109/1

phpListDockerBot commented 11 months ago

This pull request has been mentioned on phpList Discuss. There might be relevant details there:

https://discuss.phplist.org/t/phplist-3-6-14-released-security-release/9158/1