A flaky test exposed a Redis client use-after-free
Posted by DrNemski 3 days ago
Comments
Comment by serious_angel 3 days ago
> From this, he ascertained that the exception was triggered by a call to the C function memmove. While the source and destination addresses for this call looked sane, the size field was set to...
I do get the most of these stated, but it would be awesome to know more about how he did actually find it, and with what toolset. Was is gdb, Valgrind, JetBrains, IDA Pro, or some another general/complex dump viewer/toolset?
And, the interactive miracle, at the top of the website is freaking marvelous... It reminded me of the articles of the fluid simulation algorithms of Yusuke Endoh! Heartfelt gratitude to the developer, the artist who implemented it!
Apparently, behind the scene, the fluid colors are contained in an array where every single color has a defined meaning!
// categories in STACK order: index 0 at the floor → 4 at the surface
const CATS = [
{ key: "Code", rgb: [133, 232, 157] },
{ key: "Craft", rgb: [179, 146, 240] },
{ key: "Lessons", rgb: [249, 117, 131] },
{ key: "Story", rgb: [255, 171, 112] },
{ key: "Opinion", rgb: [158, 203, 255] },
];Comment by pinzonjulian 3 days ago
That's the work of https://x.com/CoreyGinnivan.
Comment by serious_angel 3 days ago
Comment by DrNemski 3 days ago
Comment by serious_angel 3 days ago
Meanwhile, I do wish you, and the whole team, success, stability, and peace!
Comment by DrNemski 2 days ago
Comment by toast0 3 days ago
I've yet to debug a big where the manifestation happens prior to the cause... Sounds even harder. :p
Comment by lelanthran 2 days ago
UB in C++ can have the manifestation occur prior to the cause :-/
Comment by StilesCrisis 2 days ago
Comment by VerifiedReports 3 days ago
Comment by paulannesley 3 days ago
Comment by Retr0id 3 days ago
Comment by VerifiedReports 3 days ago
Comment by Retr0id 3 days ago