summaryrefslogtreecommitdiff
path: root/usr.bin/cdio/cdio.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-12-15 05:33:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-12-15 05:33:57 +0000
commitb4670c96ea43d8923c7a291f5dacc4973c0ebefe (patch)
treec0685eacf410251e2c69abb00f49d987c0156ac9 /usr.bin/cdio/cdio.c
parent9f2bafd75a4037036e7959ad9f06b925eb43d77e (diff)
overflow safe
Diffstat (limited to 'usr.bin/cdio/cdio.c')
-rw-r--r--usr.bin/cdio/cdio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cdio/cdio.c b/usr.bin/cdio/cdio.c
index 3e3c6c8804d..daa1cb01ad6 100644
--- a/usr.bin/cdio/cdio.c
+++ b/usr.bin/cdio/cdio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cdio.c,v 1.12 1998/12/20 23:53:35 millert Exp $ */
+/* $OpenBSD: cdio.c,v 1.13 1999/12/15 05:33:56 deraadt Exp $ */
/*
* Compact Disc Control Utility by Serge V. Vakulenko <vak@cronyx.ru>.
* Based on the non-X based CD player by Jean-Marc Zucconi and
@@ -222,7 +222,7 @@ int main (argc, argv)
if (p > buf)
*p++ = ' ';
- strcpy (p, *argv);
+ strcpy (p, *argv); /* ok */
p += len;
}
*p = 0;