Closed atheik closed 1 year ago
Shares beginning with "IPC$" are treated as the ipc share even though only "IPC$" exactly is special. Fix detection of the ipc share name by using strcmp() instead of strncmp().
The bug was discussed at https://github.com/cifsd-team/ksmbd-tools/pull/250#issuecomment-1194753509.
Signed-off-by: atheik \atteh.mailbox@gmail.com
Applied, Thanks for your work!
Shares beginning with "IPC$" are treated as the ipc share even though only "IPC$" exactly is special. Fix detection of the ipc share name by using strcmp() instead of strncmp().
The bug was discussed at https://github.com/cifsd-team/ksmbd-tools/pull/250#issuecomment-1194753509.
Signed-off-by: atheik \atteh.mailbox@gmail.com