diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-21 15:53:29 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-21 15:53:29 +0400 |
commit | 5d9f1d3b9d567b71c02afa6a0f0164216ae39183 (patch) | |
tree | 9b718e97a6c2d7f44a8230890e9c4b47b55ee651 /source/blender/blenlib/BLI_string_utf8.h | |
parent | d4f27b7bf03171799b81ef541112ac25f936615a (diff) |
fix [#29337] Duplicate long shapekey names crash Blender
- added BLI_strncat_utf8.
- ensure resulting strings are valid utf8.
Diffstat (limited to 'source/blender/blenlib/BLI_string_utf8.h')
-rw-r--r-- | source/blender/blenlib/BLI_string_utf8.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_string_utf8.h b/source/blender/blenlib/BLI_string_utf8.h index 69b5612b118..6eba7d5eb49 100644 --- a/source/blender/blenlib/BLI_string_utf8.h +++ b/source/blender/blenlib/BLI_string_utf8.h @@ -32,6 +32,7 @@ extern "C" { #endif char *BLI_strncpy_utf8(char *dst, const char *src, size_t maxncpy); +char *BLI_strncat_utf8(char *dst, const char *src, size_t maxncpy); int BLI_utf8_invalid_byte(const char *str, int length); int BLI_utf8_invalid_strip(char *str, int length); |