﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
597	psStringNCopy fails to produce null-terminated string when nChar == 0	Paul Price	robert.desonia@…	"When nChar == 0, psStringNCopy will allocate a string of size nChar + 1, but it
is not null-terminated:

    // Ensure the last byte is NULL character
    if (nChar > 0) {
        returnValue[nChar] = '\0';
    }

Removing the restriction results in the correct result:

    // Ensure the last byte is NULL character
    returnValue[nChar] = '\0';"	defect	closed	high		sys	0.8.0	normal	fixed		
