Re: bug in UT_XML_strncpy


Subject: Re: bug in UT_XML_strncpy
From: Thomas Fletcher (thomasf@qnx.com)
Date: Sun Jan 07 2001 - 15:58:00 CST


Change commited.

Thomas

On Sat, 6 Jan 2001, Tomas Frydrych wrote:
 
> There is a bug in UT_XML_strncpy which causes it to copy only n-
> 1 characters. Line 332 of ut_string.cpp should be changed to
>
> while (i < nLen)
>
> There is only one call of this function in the entire tree that needs
> to be subsequently adjusted, on line 478 of
> ap_Dialog_Paragraph.cpp (all other calls can/should stay as they
> are).
>
> Could some please fix it?
>
> Tomas
>



This archive was generated by hypermail 2b25 : Sun Jan 07 2001 - 15:59:11 CST