#ifndef lint
static const char rcsid[] =
- "$Id: print-radius.c,v 1.7 2001-06-18 09:16:28 guy Exp $";
+ "$Id: print-radius.c,v 1.8 2001-06-25 21:13:33 itojun Exp $";
#endif
#ifdef HAVE_CONFIG_H
TCHECK2(data[0],4);
attr_time = EXTRACT_32BITS(data);
- strcpy(string, ctime(&attr_time));
+ strlcpy(string, ctime(&attr_time), sizeof(string));
/* Get rid of the newline */
string[24] = '\0';
printf("{%.24s}", string);