about advertise contact
Search: Home Vulnerabilities Exploits News Articles RSS Feeds Archive

exploits , vulnerabilities , articles , The 25 Year Old BSD Bug




logo
2008-05-12 The 25 Year Old BSD Bug

1983. The year of the IBM PC XT, the Apple Lisa, Pioneer 10 leaving the solar system, and Hooters opening up shop in Florida. It's also the birthyear of a 25 year old BSD bug, squashed only a few days ago.


A few days ago, Marc Balmer, OpenBSD developer, received an email from an OpenBSD user. The email claimed that SAMBA would crash when serving files off an MS-DOS filesystem. Balmer got into contact with a few SAMBA developers who claimed that SAMBA uses a special workaround in order to function properly on BSD systems: the code for reading directories in all BSDs was flawed.


Understandably, Balmer's first reaction was disbelief. "Of course my first reaction was to blame Samba," he writes. Despite his initial reaction, he decided to dig deeper into this case, and he uncovered a bug that had been sitting in the code of all BSDs (including Mac OS X), including a lot of old releases. He confirmed the bug was already in 4.2BSD, released in August of 1983.


The bug itself? Well, I'm no programmer so the actual code is kind of gibberish to me, but I think I get the gist of the problem.


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.


t3xt 1t!

Advertising

Copyright 2007, SecurityDot
Thu, 17 Dec 2009 10:38:51 +0000

Friends : milw0rm.com , secunia.com , securityfocus.com
GOOGLE
NEWS EXPLOITS VULNS
exploits , 0day exploits , newest exploits , vulnerabilities , newest vulnerabilities , 0day vulnerabilities , newest articles , linux articles , articles
news for c phpBB por www.57mov. forums www.18.com I ag...g.c www.zaocan www.91577. P...ages/b p...=com_m 200 /compo FreeBSD 5. www.mnjyw. http://www www.sex 18 flash play news for c news for c sexy nicol Sex.89.Sex components 200 /compo for Www.te www.fanju8 Priyanka n www.bjmsgg Www video. www.8866zq Ghore kesh wwwstreams Sexyphotoe deshi girl phpBB por www.lehuos Www. 700 x sexy nicol mmvod.51zh www.sex 18 actress vi news for c guest%20bo info.php Naked aish Crack Data Snuffy.com WWW.SEX SE Acttars Powered%25 Wawan coy www.shoesn