News for hackers. Stuff that matters.
Re:Half billion tries for a HAMMER2 bug by userbinator on Wednesday June 20, 2018 @11:44PM (#17361966)
Especially since it's a race condition, depending on the exact environment someone might never see it, experience it once in 500M operations, or see it every few minutes.

Many of the hardest bugs I've seen are related to multithreading. Writing code while being mindful not to create buffer overflows is almost trivial in comparison to writing correct multithreaded code with fine-grained locking. I've experienced many cases in the past where someone thought a certain set of race conditions would "never" happen (as documented in FIXME type comments in the code) --- and it basically always does. "I didn't know another thread could be doing that..." is a common sentiment my coworkers have expressed whenever I find bugs of this nature.

Re:Half billion tries for a HAMMER2 bug by AboutTheWhisles on Thursday June 21, 2018 @04:33PM (#17369047)
When writing multi-threaded programs, data structures, etc. you have to make sure problems can't possibly happen - anything else and it's broken.