The magic for me was the two little C programs that demonstrated the bug.
Circa 10 lines of C. Beautiful.
Yes, being able to replicate the issue in a small piece of code is a very good thing.
First it helps to triage whether the bug is in your own code or in other code.
You also then can use it like the author and find the commit which introduced the bug.
And you can use it as a test case to verify if the bug is closed.
I've personally found bugs in unpopular kernel APIs. I spent days thinking it was my code until I went and read the Linux implementation.
ESP-IDF has so many bugs that it’s often the first thing to blame when we hit issues, even if it is our code after all haha
Yes, this is an extremely well written and to the point writeup.
usually I dont read too deeply into CVE because they are too complex but this article made me go holy sh-
wish more would be written like this
This reminds if some time direct working on crypto toolkits.
Every few months, someone would always come up with a reason why "bad entropy" was the cause of a bug.
It never was, but it felt like a thing we had to go through, to get to the real cause.
> Blaming the Linux kernel (i.e. somebody else’s code) for data corruption must be the last resort.
^^^ I can only image the stress levels at this point.