rpc_server crash in samba master

Jeremy Allison jra at samba.org
Fri Apr 24 13:43:20 MDT 2015


On Fri, Apr 24, 2015 at 01:08:39PM +0200, Julien Kerihuel wrote:
> Karolin,
> 
> We have found a crash in samba caused by my recent patches.
> 
> There was a missing check in alter_context function that was causing
> samba to crash when an unregistered/unknown endpoint was queried by the
> client.
> 
> I have created the bug entry on bugzilla and attached the patch to fix
> the problem.
> https://bugzilla.samba.org/show_bug.cgi?id=11236
> 
> Can you please follow-up on this before shipping next samba release?
> 
> Let me know if there is anything I can do to help you with this.

OMG the code inside dcesrv_alter() is *horrible*.

This *desperately* needs refactoring to split
out the !dcesrv_auth_alter(call) case into
a separate function IMHO.

Hand on a minute whilst I do that...


More information about the samba-technical mailing list