The 25-Year-Old BSD Bug 213
sproketboy writes with news that a developer named Marc Balmer has recently fixed a bug in a bit of BSD code which is roughly 25 years old. In addition to the OSnews summary, you can read Balmer's comments and a technical description of the bug.
"This code will not work as expected when seeking to the second entry of a block where the first has been deleted: seekdir() calls readdir() which happily skips the first entry (it has inode set to zero), and advance to the second entry. When the user now calls readdir() to read the directory entry to which he just seekdir()ed, he does not get the second entry but the third. Much to my surprise I not only found this problem in all other BSDs or BSD derived systems like Mac OS X, but also in very old BSD versions. I first checked 4.4BSD Lite 2, and Otto confirmed it is also in 4.2BSD. The bug has been around for roughly 25 years or more."
more proof (Score:5, Funny)
the developers probably knew about it (Score:5, Funny)
Re:more proof (Score:4, Funny)
Re:Wait... Would you ever hit this? (Score:5, Funny)
Re:Wait... Would you ever hit this? (Score:2, Funny)
See? SEE? (Score:5, Funny)
This is the power of Open Source!
With all those eyes looking at the code, stuff like this gets ID'd and fixed LICKITY SPLIT!
(runs and hides)
Trac (Score:5, Funny)
Would this be a "Critical" or "Important?" (Score:3, Funny)
If no one has cared enough to fix it for 25 years, I'm guessing this should be rated as "inconsequential."
Must have been a really slow news day at OSNews.
BSD is Dying! (Score:5, Funny)
After this long (Score:4, Funny)
bug blassification, side effects and Insults! (Score:5, Funny)
1. I think this bug would be classified "archeological".
2. The question now is what happens to the Samba work-around patches. Now that the bug is fixed, do the patches cause a side-effect (i.e. "a new bug")?
3. This gives rise to a new meme of nerd insults. "You call yourself a programmer? Why I've fixed bugs older than you!" Of course, only one man is entitled to use that line.
Re:BSD is Dying! (Score:4, Funny)
Re:Trac (Score:4, Funny)
Re:more proof (Score:3, Funny)
Re:Old Code (Score:3, Funny)
Re:the developers probably knew about it (Score:5, Funny)
Such as dodging chairs.
Re:Many eyes make bugs shallow... (Score:2, Funny)
(In other words, I believe in all things moderation and think zealotry is absurd and I probably shouldn't be confused with an open source zealot or even an advocate.)
Sounds like you're a bit of a moderation zealot...
Re:This couldn't have happened with Linux... (Score:3, Funny)
Re:See? SEE? (Score:3, Funny)
Re:This couldn't have happened with Linux... (Score:3, Funny)
Re:Many eyes make bugs shallow... (Score:4, Funny)
Re:Many eyes make bugs shallow... (Score:5, Funny)
Re:BSD is Dying! (Score:1, Funny)
What does this mean ?
Resurrection ?