go-delve / delve

Delve is a debugger for the Go programming language.
MIT License
22.38k stars 2.13k forks source link

Don't use a fixed width for "sl" column when parsing /proc/net/tcp lines #3660

Closed michaelmerg closed 4 months ago

michaelmerg commented 4 months ago

If /proc/net/tcp contains a large number of entries (>9999), parsing lines with len(sl) > 4 fails with the fixed width pattern. In that case the lines are silently ignored.