Recent Articles

IBM Announces Record-Setting UNIX Server
You can almost imagine someone calling ladies and gentlemen, along with boys and girls of all ages, to gather 'round; IBM recently showed off a new...

SCO's McBride Facing The Exit
Bankruptcy and the subsequent reorganization at SCO will mean the end of the CEO run for Darl McBride. SCO famously battled IBM and Novell in court over...

Trying To Recover SCO Medical Manager
Recently I went out to try to recover a SCO system running Medical Manager. What I found was an old system with a DPT controller set up as a RAID 5...

05.16.08

Ancient BSD Unix Bug Fixed

By Doug Caverly

A Unix developer recently found and fixed what was probably the world's oldest bug, and we don't mean that in the amber-encased insect sense.

Instead, a 25-year-old flaw in Berkeley Software Distribution came to light.

It's almost hard to believe that such a thing could exist, and after a BSD user informed him of a problem, Marc Balmer apparently needed to do a few double takes and lots of research. Balmer then went about the correction process.


The details are listed on the vnode.ch site. In the end, Balmer concluded, "The fix is surprisingly simple, not to say trivial: _readdir_unlocked() must not skip directory entries with inode set to zero when it is called from __seekdir()."

Obviously the bug would have been discovered sooner if it was fouling up too many vital operations, so users' experiences will probably go unchanged.

Still, the story serves as a credit to Balmer, a cautionary tale to other developers, and a point of interest to just about everybody.

Hat tip goes to Egan Orion.


About the Author:
Doug is a staff writer for WebProNews. Visit WebProNews for the latest eBusiness news.
About UnixProNews
UnixProNews is a collection of news and commentary designed to keep you in step with the ever evolving landscape of Unix environments. News and Advice for Unix Professionals





UnixProNews is brought to you by:

SecurityConfig.com NetworkingFiles.com
NetworkNewz.com WebProASP.com
DatabaseProNews.com SQLProNews.com
ITcertificationNews.com SysAdminNews.com
LinuxProNews.com WirelessProNews.com
CProgrammingTrends.com ITCertificationNews.com






-- UnixProNews is an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
2008 iEntry, Inc. All Rights Reserved Privacy Policy Legal

archives | advertising info | news headlines | free newsletters | comments/feedback | submit article


News and Advice for Unix Professionals UnixProNews News Archives About Us Feedback UnixProNews Home Page About Article Archive News Downloads WebProWorld Forums Jayde iEntry Advertise Contact