Skip to content

Fixes #1397#1439

Open
parasraju wants to merge 1 commit into
PyCQA:mainfrom
parasraju:fix-1397
Open

Fixes #1397#1439
parasraju wants to merge 1 commit into
PyCQA:mainfrom
parasraju:fix-1397

Conversation

@parasraju

Copy link
Copy Markdown

Treat an empty string host passed to socket.bind() the same as 0.0.0.0 for B104 detection.

Changes:

  • Detect "" in addition to "0.0.0.0"
  • Add functional test coverage for socket.bind(("", port))
  • Update expected findings count

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

Successfully merging this pull request may close these issues.

1 participant