mirror of
https://github.com/transmission/transmission
synced 2025-02-03 04:53:27 +00:00
Make sure strcatUTF8 leaves the string null terminated (spotted by Adam Bozanich)
This commit is contained in:
parent
24060a66d9
commit
716482bd85
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
|||
/***********************************************************************
|
||||
* Local prototypes
|
||||
**********************************************************************/
|
||||
#define strcatUTF8( dst, src) _strcatUTF8( (dst), sizeof( dst ), (src) )
|
||||
#define strcatUTF8( dst, src) _strcatUTF8( (dst), sizeof( dst ) - 1, (src) )
|
||||
static void _strcatUTF8( char *, int, char * );
|
||||
|
||||
/***********************************************************************
|
||||
|
|
Loading…
Reference in a new issue