gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Kill strcpy and strcat


From: Daniele Forsi
Subject: Re: [PATCH] Kill strcpy and strcat
Date: Wed, 7 Nov 2007 12:35:01 +0100
User-agent: KMail/1.9.4

Pawel Kot wrote to Bastien Nocera:

> For strncpy() you need also to ensure, the destination string will be
> null-terminated. I'm working already for the patch for whole gnokii.

there are SAFE_STRNCPY and SAFE_STRNCPY_SIZEOF in ./include/misc.h
I used SAFE_STRNCPY in ./common/phones/pcsc.c
-- 
Daniele




reply via email to

[Prev in Thread] Current Thread [Next in Thread]