Skip to content

Test example triggers false positive Socket alert #328

Description

@bourumir-wyngs

It is totally clear to me that this code (/tests/ui/non-quotable.rs)

  fn main() {
      let ip = Ipv4Addr::LOCALHOST;
      let _ = quote! { #ip };
  }

does not approach anywhere close to accessing the network, but explain this for Socket!

I suggest thinking of a less provocative example that would not trigger confusing alerts.

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