cvs commit: src/usr.bin/indent args.c

[ Available lists | Index of cvs-all | Month of Sep 2004 | Week of 19 Sep 2004 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
David Schultz <das@FreeBSD.org>
Date
19 Sep 2004 20:34:30
Subject
cvs commit: src/usr.bin/indent args.c
Message-ID
200409192034.i8JKYUJO092703@repoman.freebsd.org


[ Hide this part ]
das         2004-09-19 20:34:30 UTC

FreeBSD src repository

Modified files:
usr.bin/indent args.c
Log:
Fix a buffer overflow by using strncpy() instead of strcpy().
Also, use strdup() instead of malloc()/strcpy().

PR: 64164

Revision Changes Path
1.15 +4 -4 src/usr.bin/indent/args.c


Elapsed time: 0.040 seconds