[Bug libobjc/9751] malloc of strlen, not strlen+1

2006-01-24 Thread ayers at gcc dot gnu dot org


--- Comment #6 from ayers at gcc dot gnu dot org  2006-01-24 23:37 ---
Subject: Bug 9751

Author: ayers
Date: Tue Jan 24 23:37:24 2006
New Revision: 110187

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110187
Log:
2006-01-24  David Ayers  <[EMAIL PROTECTED]>

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


Modified:
trunk/libobjc/ChangeLog
trunk/libobjc/gc.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9751



[Bug libobjc/9751] malloc of strlen, not strlen+1

2006-01-24 Thread ayers at gcc dot gnu dot org


--- Comment #7 from ayers at gcc dot gnu dot org  2006-01-24 23:49 ---
Fixed by replacing strncpy with memcpy and insuring the new strings are '\0'
termintated.


-- 

ayers at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.2.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9751



[Bug libobjc/9751] malloc of strlen, not strlen+1

2005-10-05 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Severity|normal  |trivial


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9751



[Bug libobjc/9751] malloc of strlen, not strlen+1

2005-10-22 Thread pinskia at gcc dot gnu dot org


--- Comment #5 from pinskia at gcc dot gnu dot org  2005-10-23 00:08 ---
No longer working on this.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|pinskia at gcc dot gnu dot  |unassigned at gcc dot gnu
   |org |dot org
 Status|ASSIGNED|NEW


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9751