[Samba] stack smashing problem

Jeremy Allison jra at samba.org
Mon May 15 23:39:44 GMT 2006


On Tue, May 16, 2006 at 12:34:02AM +0200, Matthias et Laura wrote:

> Did a little debugging tonight :
> The problem stands in the smbd/server.c file, open_sockets_smbd 
> function, close_low_fds(False); call ( line 414 )
> The close_low_fds function is declared in the lib/util.c file
> And the stack smashing problem stands on the close(1) statement ( at the 
> begining of the function )
> I commented the whole content of the close_low_fds function
> Then another stack smashing pb on the 'return True' statement line 436 
> of smbd/server.c
> I commented this line and no stack smashing pb anymore : weird
> 
> But my shares do not work neither ;-(
> 
> Will try to ask help from the anti stack smashing guys ... if I can find 
> them

Yeah, stopping close(1) makes no sense....

Jeremy.


More information about the samba mailing list