DragonFly BSD
DragonFly bugs List (threaded) for 2005-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Minor headaches using pkgsrc daemons (samba)


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Wed, 13 Jul 2005 01:30:57 +0900

On Tue, Jul 12, 2005 at 04:34:53PM +0200, Joerg Sonnenberger wrote:
> On Sun, Jul 10, 2005 at 05:40:32PM -0700, walt wrote:
> > smbd: stack overflow in function open_sockets_smbd
> > kernel: pid 907 (smbd), uid 0: exited on signal 6
> > 
> > That is what I get when any client (like smbtree) tries to
> > connect to my DFly machine running smbd.
> 
> I'm investigating this at the moment. The code is definitely
> not safe, there are actual problems, but I still have to find
> out why it triggers them as soon as it does.

This is very weird; if I add `return False' BEFORE FD_ZERO() in
open_sockets_smbd(), it terminates with SIGTERM, but if I put the
`return False' AFTER FD_ZERO() and stack smash protector detects
the stack overflow and it catches SIGABRT.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]