Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Console] Check for existence of proc_open to fix #4338 #4357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 21, 2012
Merged

[Console] Check for existence of proc_open to fix #4338 #4357

merged 1 commit into from
May 21, 2012

Conversation

davidwindell
Copy link
Contributor

It is quite common to disable proc_open for security purposes.

This PR checks for the existence of the proc_open function and fixes Issue #4338

@travisbot
Copy link

This pull request passes (merged dd991bea into 1407f11).

@@ -921,6 +921,10 @@ protected function getDefaultHelperSet()
*/
private function getSttyColumns()
{
if(!function_exists('proc_open')) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is a missing space after the if keyword.

@travisbot
Copy link

This pull request passes (merged 0a3dd0f into 1407f11).

@fabpot
Copy link
Member

fabpot commented May 21, 2012

I forgot to ask you to sent a new PR for the 2.0 branch instead of master. Thanks.

@davidwindell
Copy link
Contributor Author

proc_open is not used in 2.0?

@fabpot
Copy link
Member

fabpot commented May 21, 2012

sorry, I thought I was in the 2.0 branch locally... but it was master. Merged, thanks.

fabpot added a commit that referenced this pull request May 21, 2012
Commits
-------

0a3dd0f [Console] Check for existence of proc_open to fix #4338

Discussion
----------

[Console] Check for existence of proc_open to fix #4338

It is quite common to disable proc_open for security purposes.

This PR checks for the existence of the proc_open function and fixes Issue #4338

Replacement for PR4356

---------------------------------------------------------------------------

by travisbot at 2012-05-21T10:49:59Z

This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1387784) (merged dd991bea into 1407f11).

---------------------------------------------------------------------------

by travisbot at 2012-05-21T11:35:21Z

This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1387991) (merged 0a3dd0f into 1407f11).

---------------------------------------------------------------------------

by fabpot at 2012-05-21T12:17:32Z

I forgot to ask you to sent a new PR for the 2.0 branch instead of master. Thanks.

---------------------------------------------------------------------------

by davidwindell at 2012-05-21T13:03:36Z

proc_open is not used in 2.0?
@fabpot fabpot merged commit 0a3dd0f into symfony:master May 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.