This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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  <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.


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


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]