Skip to content

False Positive: Function argument(s) returned by "func_get_args" might have been modified #127

Description

@reedy

This seems to be rather a lot of false positives returned by this...

File: /home/reedy/mediawiki/img_auth.php
> Line 192: [Warning] Function argument(s) returned by "func_get_args" might have been modified
    func_get_args();

https://phabricator.wikimedia.org/source/mediawiki/browse/master/img_auth.php;1b0c9f6098c31d6bf16a00d37a8aa5cd493270e1$192

The only statements before this is global $wgImgAuthDetails; -- this isn't any modification

We've seen a lot of these false positives in many functions when scanning MediaWiki and extensions deployed on Wikimedia sites

I can give you some more examples if you want to see if it's possible to improve the detection

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions