Monday, May 12, 2008

25-Year-Old Bug Fixed in BSD

Marc Balmer has a wonderful writeup of a bug in the BSD directory handling code that laid dormant for 25 years. The only tragic thing was that Samba programmers encountered and worked around the bug several years ago and somehow the message never got back to the BSD folks.

The other day, I got an email from Edd, an OpenBSD user, claiming that Samba would crash when serving files off an MS-DOS filesystem. This was Samba built from sources and not the one from ports. Since I use myself Samba a lot and for a quite large user base, I got interested in the issue and started investigating it.

What I found out in the end is a surprise and was not expected: A bug that has been there in all BSDs for almost all the time, since the 4.2BSD times or for roughly 25 years...

No comments:

Post a Comment