On Sun, Jan 27, 2002 at 02:39:43PM +0100, Adrian Phillips wrote:
>       XML_Char name[BOOKMARK_NAME_SIZE + 1];
> +     name[BOOKMARK_NAME_SIZE] = 0;
>       UT_XML_strncpy(name, BOOKMARK_NAME_SIZE, (XML_Char*)szName);

Shouldn't the name[...] = 0 be done after the strncpy?

-- 
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
                                                 -- Benjamin Franklin

Reply via email to