About a year ago I made an off by one error in memory allocation in some C. I only know this because today I encountered the first (to my knowledge) segfault it caused. brb rewriting everything in Rust
-
-
Replying to @edwinbrady @fanf42
You don't test with tools like ElectricFence?
1 reply 0 retweets 0 likes -
Replying to @hyc_symas @fanf42
The thing in question was on the boundary between a run time system and foreign function interface. The rts code was fine, the FFI call was bad, but not obviously so.
1 reply 0 retweets 0 likes
These tools are great, and if I was working entirely in C, wouldn't be without them. Still, there's definitely a way to use them to exercise the rts better rather than getting nasty surprises.
3:20 PM - 30 Jul 2018
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.