Segfault in the NDR printing routines

Jelmer Vernooij jelmer at
Fri Nov 10 19:13:03 GMT 2006


On Fri, 2006-11-10 at 16:27 +0100, Volker Lendecke wrote:
> While trying to chase down a remote shutdown segfault I've
> come across a bug in the NDR printing routines:
> Look at ndr_print_initshutdown_String in current 3_0. In
> line 99 we check if r->name is NULL, after having
> dereferenced it in line 95. I'm talking about
> winreg_InitiateSystemShutdown with a NULL message string. It
> is trivial to reproduce: On an XP box do a "shutdown -s -m
> \\samba-server" with current 3_0 as server.
Thanks. I've filed a bug in bugzilla to make sure I won't forget to look
at this (#4218). Should be within the next few days.


Jelmer Vernooij <jelmer at> -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url :

More information about the samba-technical mailing list