Skip to content
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

$expr->name is not prefixed with $ #4554

Merged
merged 1 commit into from
Nov 16, 2020
Merged

$expr->name is not prefixed with $ #4554

merged 1 commit into from
Nov 16, 2020

Commits on Nov 14, 2020

  1. $expr->name is not prefixed with $

    The example as-is would currently not flag the following code:
    
    ```
    	public function foo() {
    		$foo = $bad_data;
    		\shell_exec($foo);
            } 
    ```
    
    Switching it to `bad_data` made it work.
    LukasReschke committed Nov 14, 2020
    Configuration menu
    Copy the full SHA
    bc762d9 View commit details
    Browse the repository at this point in the history