[patch] add strlcpy and strlcat

Paulius Zaleckas paulius.zaleckas at teltonika.lt
Mon Feb 11 15:35:59 CET 2008


This patch adds safe strcpy and strcat methods. Most of strcpy, strncpy, 
strcat and strncat methods in gsmd was replaced by strlcpy and strlcat 
methods. This also fixes couple potential bugs. I haven't noticed any 
side effects, but additional testing would be very good.

Regards,
Paulius Zaleckas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strl.patch
Type: text/x-patch
Size: 12188 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/gsmd-devel/attachments/20080211/0e242afb/strl-0001.bin


More information about the gsmd-devel mailing list