This one gets my vote:
#define MAX_LEN 80 static char tftp_filename[MAX_LEN]; strncpy(tftp_filename, str, MAX_LEN); tftp_filename[MAX_LEN-1] = 0; May be truncated, but never overruns. - Jason McMullan Network Appliance, Inc.
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ U-Boot-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/u-boot-users
