You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[CIFS] rename cifs_strndup to cifs_strndup_from_ucs
In most cases, cifs_strndup is converting from Unicode (UCS2 / UTF-32) to the configured local code page for the Linux mount (usually UTF8), so Jeff suggested that to make it more clear that cifs_strndup is doing a conversion not just memory allocation and copy, rename the function to including "from_ucs" (ie Unicode) Signed-off-by: Steve French <sfrench@us.ibm.com>
This commit is contained in:
+5
-1
@@ -2,7 +2,11 @@ Version 1.58
|
||||
------------
|
||||
Guard against buffer overruns in various UCS-2 to UTF-8 string conversions
|
||||
when the UTF-8 string is composed of unusually long (more than 4 byte) converted
|
||||
characters.
|
||||
characters. Add support for mounting root of a share which redirects immediately
|
||||
to DFS target. Convert string conversion functions from Unicode to more
|
||||
accurately mark string length before allocating memory (which may help the
|
||||
rare cases where a UTF-8 string is much larger than the UCS2 string that
|
||||
we converted from).
|
||||
|
||||
Version 1.57
|
||||
------------
|
||||
|
||||
Reference in New Issue
Block a user