[Bug 3414] New: Overlapping strings with strcpy

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Sun Nov 11 10:03:34 EST 2007


http://bugzilla.icculus.org/show_bug.cgi?id=3414

           Summary: Overlapping strings with strcpy
           Product: Quake 3
           Version: SVN HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P3
         Component: Misc
        AssignedTo: zakk at icculus.org
        ReportedBy: boscq at polytech.unice.fr
         QAContact: quake3-bugzilla at icculus.org


in qcommon/q_shared.c function Info_RemoveKey line 1147 it would be better to
use memmove instead of "strcpy (start, s);" because as said in the manual page
of strcpy : "The  strings  may  not overlap".


-- 
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the quake3-bugzilla mailing list