re PR libobjc/9751 (malloc of strlen, not strlen+1)
authorDavid Ayers <d.ayers@inode.at>
Tue, 24 Jan 2006 23:37:24 +0000 (00:37 +0100)
committerDavid Ayers <ayers@gcc.gnu.org>
Tue, 24 Jan 2006 23:37:24 +0000 (23:37 +0000)
commit801a91f9c23b08fd6eff0a429472d669b46db2dc
treede0c99688b8eff2a3596b21c0a9f5f90a1728320
parente7968bd8506be0500fd360ce4384b9e4c93da25b
re PR libobjc/9751 (malloc of strlen, not strlen+1)

2006-01-24  David Ayers  <d.ayers@inode.at>

PR libobjc/9751
* gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
and insure the new strings are '\0' termintated.

From-SVN: r110187
libobjc/ChangeLog
libobjc/gc.c