Project

General

Profile

Bug #1930

smb_match functions incorrectly handle multibyte characters

Added by Yuri Pankov over 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
cifs - CIFS server and client
Start date:
2011-12-27
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
cifs wildcards
Gerrit CR:

Description

smb_match{,_ci}_private functions incorrectly think that size of character == size of byte when handling wildcards:
http://src.illumos.org/source/xref/illumos-gate/usr/src/common/smbsrv/smb_match.c#168
http://src.illumos.org/source/xref/illumos-gate/usr/src/common/smbsrv/smb_match.c#190

Also available in: Atom PDF