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

The result of function isn't used #7

Open
AppChecker opened this issue Aug 31, 2016 · 0 comments
Open

The result of function isn't used #7

AppChecker opened this issue Aug 31, 2016 · 0 comments

Comments

@AppChecker
Copy link

Greetings!

We've checked your source code and found some suspicious part. Maybe this code never executes but a bug is a bug)

https://github.com/Microsoft/deployr-rserve/blob/8b75ec4296399926df230fc5db66e45e17e9dc82/Rserve/src/client/java-old/REXP.java#L1040

        if (s.indexOf('\\')>=0)
            s.replaceAll("\\","\\\\");
        if (s.indexOf('"')>=0)
            s.replaceAll("\"", "\\\"");

The value of variable s doesn't change

This bug is found by Echelon team with AppChecker static analyzer

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

No branches or pull requests

1 participant