3 ms·
>I stumbled across a PR from 2010, which was briefly saying that PF’s TCP-SYN entry point could crash the kernel if a special packet was received. Looking at th
by Palomides 8y ago
>I stumbled across a PR from 2010, which was briefly saying that PF’s TCP-SYN entry point could crash the kernel if a special packet was received. Looking at the PF code, it was clear, after two minutes, where the problem was.
I wonder how often problems like this languish in bug trackers (due to a shortage of developer availability? flood of low-quality bugs? other problems?)
- colechristensen 8y agoMaybe such things could be solved by having a bug tracker linked to a sort of CI system where you could upload code/tests/etc to _demonstrate_ the bug in question
- koolba 8y agoThat already exists. Simply create a failing test as a separate commit then have the fix be a subsequent commit.
- Someone 8y agoThat helps, but it still requires someone knowledgeable to look at the demonstration code and confirm it is correct (trivial for crashes the kernel issues with demonstration code running in userland, because all of those are real, however ugly and nasty the code demoing it is, but less easy or even very hard for anything else. For example, leaks memory can be hard to discriminate from uses lots of resources) If there are many such demos, many of them red herrings (users misunderstanding APIs, for example), developers may choose to only investigate reports from people they trust to report real issues.