The Samba-Bugzilla – Attachment 3155 Details for
Bug 3617
nmbd crashes with signal 11 if another server announces itself as a local master browser
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
look (text/plain), 1.83 KB, created by
Jeremy Allison
on 2008-02-29 07:47:10 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2008-02-29 07:47:10 UTC
Size:
1.83 KB
patch
obsolete
>diff --git a/source/nmbd/nmbd_namelistdb.c b/source/nmbd/nmbd_namelistdb.c >index f9cbcf4..6570fd4 100644 >--- a/source/nmbd/nmbd_namelistdb.c >+++ b/source/nmbd/nmbd_namelistdb.c >@@ -297,7 +297,6 @@ void standard_success_register(struct subnet_record *subrec, > ******************************************************************/ > > void standard_fail_register( struct subnet_record *subrec, >- struct response_record *rrec, > struct nmb_name *nmbname ) > { > struct name_record *namerec; >diff --git a/source/nmbd/nmbd_nameregister.c b/source/nmbd/nmbd_nameregister.c >index edcf258..cb171aa 100644 >--- a/source/nmbd/nmbd_nameregister.c >+++ b/source/nmbd/nmbd_nameregister.c >@@ -152,10 +152,11 @@ static void register_name_response(struct subnet_record *subrec, > if( rrec->success_fn) > (*(register_name_success_function)rrec->success_fn)(subrec, rrec->userdata, answer_name, nb_flags, ttl, register_ip); > } else { >+ struct nmb_name rr_name qname = *question_name; > if( rrec->fail_fn) > (*(register_name_fail_function)rrec->fail_fn)(subrec, rrec, question_name); > /* Remove the name. */ >- standard_fail_register( subrec, rrec, question_name); >+ standard_fail_register( subrec, &qname); > } > > /* Ensure we don't retry. */ >@@ -280,10 +281,11 @@ static void register_name_timeout_response(struct subnet_record *subrec, > if( rrec->success_fn) > (*(register_name_success_function)rrec->success_fn)(subrec, rrec->userdata, question_name, nb_flags, ttl, registered_ip); > } else { >+ struct nmb_name rr_name qname = *question_name; > if( rrec->fail_fn) > (*(register_name_fail_function)rrec->fail_fn)(subrec, rrec, question_name); > /* Remove the name. */ >- standard_fail_register( subrec, rrec, question_name); >+ standard_fail_register( subrec, &qname); > } > > /* Ensure we don't retry. */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 3617
:
1812
|
1844
|
1969
|
2915
|
2916
|
2917
|
3021
|
3065
|
3066
|
3070
|
3086
|
3154
|
3155
|
3156
|
3157