dgryski / semgrep-go

Go rules for semgrep and go-ruleguard
MIT License
457 stars 37 forks source link

make hostport regexp for variable name a bit more specific #45

Closed rubensayshi closed 2 years ago

rubensayshi commented 2 years ago

the old regexp was triggering on any variable name with ip in it, which - only being a 2 letters - can occur in many variables names.

dgryski commented 2 years ago

LGTM. Thanks!