diff options
author | Mohammed Al Sahaf <msaa1990@gmail.com> | 2019-11-12 01:33:38 +0300 |
---|---|---|
committer | Matt Holt <mholt@users.noreply.github.com> | 2019-11-11 15:33:38 -0700 |
commit | 93bc1b72e3cd566e6447ad7a1f832474aad5dfcc (patch) | |
tree | 05ddeb324261d7058925948baa0077752fd5e453 /modules/caddyhttp/vars.go | |
parent | a19da07b72d84432341990bcedce511fe2f980da (diff) |
core: Use port ranges to avoid OOM with bad inputs (#2859)
* fix OOM issue caught by fuzzing
* use ParsedAddress as the struct name for the result of ParseNetworkAddress
* simplify code using the ParsedAddress type
* minor cleanups
Diffstat (limited to 'modules/caddyhttp/vars.go')
0 files changed, 0 insertions, 0 deletions