sektioneins / suhosin

SUHOSIN [수호신] for PHP 5.x - The PHP security extension.
https://www.suhosin.org
Other
471 stars 71 forks source link

Incompatibility with pcs ext. #101

Open remicollet opened 8 years ago

remicollet commented 8 years ago

Cross bug report, See https://github.com/flaupretre/pecl-pcs/issues/4

bef commented 8 years ago

@remicollet Please try this:

php-zts -n -d extension=../pecl-pcs/modules/pcs.so -d extension=./modules/suhosin.so -d suhosin.executor.include.whitelist=pcs:// -m

Internally pcs is using its own URI scheme pcs:// and all URI schemes are disabled by default.

remicollet commented 8 years ago

Yes, this works, no segfault. Thanks

bef commented 8 years ago

There may still be a bug in either suhosin or pcs. I suspect that pcs does not expect the URI scheme to fail and may need additional error handling code. This will be investigated further.