srvsvc 0x27 patch

Jeremy Allison jeremy at valinux.com
Sat Jun 16 00:39:20 GMT 2001


Tim Potter wrote:
> 
> I'm a big fan of getting rid of all these stupid NULL checks in
> the rpc_parse code.  If a parameter is NULL then it hasn't been
> passed in by the programmer and smbd should segfault.  This will
> pull up the error much faster than tracking back up many stack
> frames to to find out why a particular call has failed.

Oh great. That means any client can automatically
crash an smbd by sending an invalid packet.....

Good plan :-) :-) :-).

> Woohoo - a rant!  I don't do this very often... (-:

When do you start your new job coding Microsoft apps... :-) :-).

Jeremy.

-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------




More information about the samba-technical mailing list