Closed personalcomputer closed 2 years ago
@personalcomputer Hi,
Thank you for your detailed report. It would be a great help.
I had fixed the problem with c79d4f2de05a0cdfa94b20a6cb8b7a78699d6126. The commit will be included in the next release (probably soon).
Released tcconfig 0.27.1
.
Please try to upgrade this version.
Feel free to reopen if you still have any problems about the issue.
Thanks @thombashi! I just tested, and I can confirm you've fixed this bug now in 0.27.1. :pray:
Describe the bug
Hi Hombashi-san, thanks for publishing tcconfig. It makes tc a lot more approachable. I have found a crash when parsing filters in tcshow:
To Reproduce
The simplest way to reproduce that I have found is by running the below two
tcset
commands in sequence, and then tcshow as third command. These two tcset commands are trying to set up a 100ms delay on both ipv4 and ipv6, so quite a normal usecase I think.(note: 2nd command gives an error message, but does not crash. Crash only happens when running tcshow.)
Environments
Additional context
Full --debug output:
Output of what I think it is failing to parse:
Output of what the sqlite3 database looks like at the time of the crash: