Skip to content

false positive results of relativePath #4883

Open
@madneal

Description

@madneal

Description of the issue

I have created a query:

import java
import semmle.code.java.security.RelativePaths

from Expr e, string command
where relativePath(e, command)
select e, command

As the query results of project :

image

image

Obviously, RELEASE_VERSION does not start with a relative path as stated in RelativePaths.qll.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions