The Samba-Bugzilla – Attachment 14057 Details for
Bug 13340
reset on zero vc option resets the wrong client
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to session setup for reset on zero vc
patch-source3__smbd__sesssetup.c (text/plain), 450 bytes, created by
Joe Frank
on 2018-03-19 17:33:57 UTC
(
hide
)
Description:
Patch to session setup for reset on zero vc
Filename:
MIME Type:
Creator:
Joe Frank
Created:
2018-03-19 17:33:57 UTC
Size:
450 bytes
patch
obsolete
>--- source3/smbd/sesssetup.c.orig 2018-01-19 16:04:53.950557502 -0700 >+++ source3/smbd/sesssetup.c 2018-01-19 16:06:22.680714874 -0700 >@@ -513,7 +513,8 @@ > * contains a string like: > * 'ipv4:127.0.0.1:48163' > */ >- if (strstr(addr, state->ip) == NULL) { >+ const char *p; >+ if ((p = strstr(addr, state->ip)) == NULL || strspn(p+strlen(state->ip), "0123456789") != 0) { > DEBUG(10, ("%s does not match %s\n", state->ip, addr)); > return 0; > }
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 13340
: 14057 |
14083
|
14095