Re: safe strcpy()?

From: Ed Carp (ercat_private)
Date: Wed Jan 29 2003 - 17:54:43 PST

  • Next message: Crispin Cowan: "Re: safe strcpy()?"

    On 29 Jan 2003, Ben Pfaff wrote:
    
    > As a result, strncpy() is hardly ever the right function to use.
    > strlcpy() from OpenBSD is usually a better choice.
    
    The problem with strlcpy is that there's no autpmated way to retrofit old 
    code with it.  It's great for new code development, though.
    -- 
    Ed Carp, N7EKG          http://www.pobox.com/~erc               214/986-5870
    Licensed Texas Peace Officer
    Computer Crime Investigation Consultant
    
    Director, Software Development
    Escapade Server-Side Scripting Engine Development Team
    http://www.squishedmosquito.com
    
    Microsoft Front Page - the official HTML editor of Al Qaeda
    Microsoft Hotmail - the official email of Al Qaeda
    



    This archive was generated by hypermail 2b30 : Thu Jan 30 2003 - 09:11:17 PST