The Samba-Bugzilla – Attachment 3157 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 for the invalid 4 byte reads.
look (text/plain), 864 bytes, created by
Jeremy Allison
on 2008-02-29 08:52:37 UTC
(
hide
)
Description:
Patch for the invalid 4 byte reads.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2008-02-29 08:52:37 UTC
Size:
864 bytes
patch
obsolete
>diff --git a/source/nmbd/nmbd_responserecordsdb.c b/source/nmbd/nmbd_responserecordsdb.c >index 8b056ac..d8c044e 100644 >--- a/source/nmbd/nmbd_responserecordsdb.c >+++ b/source/nmbd/nmbd_responserecordsdb.c >@@ -47,6 +47,24 @@ static void add_response_record(struct subnet_record *subrec, > void remove_response_record(struct subnet_record *subrec, > struct response_record *rrec) > { >+ /* It is possible this can be called recursively, >+ with a rrec pointer that has been freed. So >+ before we inderect into rrec, search for it >+ on the responselist first. Bug #3617. JRA. */ >+ >+ struct response_record *p = NULL; >+ >+ for (p = subrec->responselist; p; p = p->next) { >+ if (p == rrec) { >+ break; >+ } >+ } >+ >+ if (p == NULL) { >+ /* We didn't find rrec on the list. */ >+ return; >+ } >+ > DLIST_REMOVE(subrec->responselist, rrec); > > if(rrec->userdata) {
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