On Friday 17 October 2008 18:55:19 Jeremy Chadwick wrote:
> On Fri, Oct 17, 2008 at 05:13:45PM +0100, Charles Mason wrote:
> > From what I have seen, both are perfectly capable and since its samba
> > that will be doing most of the actual work its probably doesn't matter
> > that much. Of course the next question if he goes with Linux, is which
> > distro. Perhaps the question should be FreeBSD v Red Hat v Ubuntu v
> > SUSE v latest flavour of the month. Since keeping it patched is
> > essential, these sorts of admin features do matter.
>
> And did this bug ever get addressed?  If so, when/what commit?
>
> http://www.vnode.ch/fixing_seekdir

lib/libc/gen/readdir.c
----------------------------
revision 1.15
date: 2008/05/05 14:05:23;  author: kib;  state: Exp;  lines: +7 -6
Do not read away the target directory entry when encountering deleted
files after a seekdir().

The seekdir shall set the position for the next readdir operation.
When the _readdir_unlocked() encounters deleted entry, dd_loc is
already advanced. Continuing the loop leads to premature read of
the target entry.

Submitted by:   Marc Balmer <mbalmer at openbsd org>
Obtained from:  OpenBSD
MFC after:      2 weeks
----------------------------

-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to