The Samba-Bugzilla – Attachment 1021 Details for
Bug 2215
nmbd crashes with signal 11
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch suggested by gcc folks
samba-3.0.10-gcc.patch (text/plain), 811 bytes, created by
Jay Fenlason - please log in and update your mail address here and let us enable Bugmails to you again, Jay
on 2005-03-09 15:09:26 UTC
(
hide
)
Description:
Patch suggested by gcc folks
Filename:
MIME Type:
Creator:
Jay Fenlason - please log in and update your mail address here and let us enable Bugmails to you again, Jay
Created:
2005-03-09 15:09:26 UTC
Size:
811 bytes
patch
obsolete
>--- samba-3.0.10/source/nmbd/#nmbd_winsproxy.c~ 2005-03-09 16:51:08.000000000 -0500 >+++ samba-3.0.10/source/nmbd/nmbd_winsproxy.c 2005-03-09 16:51:08.000000000 -0500 >@@ -190,9 +190,12 @@ > struct packet_struct *incoming_packet, > struct nmb_name *question_name) > { >- long *ud[(sizeof(struct userdata_struct) + sizeof(struct subrec *) + >- sizeof(struct packet_struct *))/sizeof(long *) + 1]; >- struct userdata_struct *userdata = (struct userdata_struct *)ud; >+ union { >+ struct userdata_struct ud; >+ char c[sizeof(struct userdata_struct) + sizeof(struct subrec *) + >+ sizeof(struct packet_struct *)+sizeof(long*)]; >+ } ud; >+ struct userdata_struct *userdata = &ud.ud; > unstring qname; > > memset(ud, '\0', sizeof(ud));
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 2215
: 1021