• Robert Sprowson's avatar
    Fix potential NULL pointer dereference, and buffer overruns · a4b3758f
    Robert Sprowson authored
    enc_utf16.c: move the arg check on putf16 being NULL up before it's used
    riscos.c: strncat() includes a terminator, so don't terminate, and pass one less on the limit
    unix.c: same again for strncat(), and don't assume strncpy() includes a terminator
    Found by cppcheck static analysis.
    
    Version 0.63. Tagged as 'Unicode-0_63'
    a4b3758f
VersionNum 804 Bytes