* Frank Knobbe wrote on Mon, Nov 18, 2002 at 15:46 -0600:
> On Mon, 2002-11-18 at 12:54, John Viega wrote:
>
> > > #define safe_strcat(dst,src)
> > > strncat(dst,src,sizeof(dst))
> >
> > 1) sizeof(dst) is very often going to be sizeof(char *) which is 2, no matter
> > how much space is mal...
> On Mon, 2002-11-18 at 12:54, John Viega wrote:
>
> > > #define safe_strcat(dst,src)
> > > strncat(dst,src,sizeof(dst))
> >
> > 1) sizeof(dst) is very often going to be sizeof(char *) which is 2, no matter
> > how much space is mal...
[ more ]