Skip to content
This repository was archived by the owner on Jun 10, 2026. It is now read-only.
This repository was archived by the owner on Jun 10, 2026. It is now read-only.

The result of function isn't used #7

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions