Actions
Bug #2920
closedImageMagic: presence not correctly checked when open_base_dir restriction is in effect but exec() is allowed
Description
Check for executable file instead of path directory directory:
As explained here:
https://www.joomlapolis.com/forum/145-community-builder/179071-imagemagick-path-wrong-since-upgrade-to-cb-17#180067
isdir() is subject to openbasepath restrictions while executables are not.
Fix is to replace is_dir() with is_executable( dir + imagemagic executable file )
Files
Updated by krileon about 13 years ago
- File 2920.patch added
- Status changed from New to Resolved
- Assignee changed from krileon to beat
- % Done changed from 0 to 100
Updated by beat about 13 years ago
- Subject changed from ImageMagic: presence not correctly checked to ImageMagic: presence not correctly checked when open_base_dir restriction is in effect but exec() is allowed
- Status changed from Resolved to Closed
r1588 fixes as discussed.
Thanks.
Actions