summaryrefslogtreecommitdiff
path: root/usr.sbin/ctm/ctm_rmail
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-05-14 09:35:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-05-14 09:35:03 +0000
commit16c2220d2985d628f7824dc6e26e1165c1cb0900 (patch)
tree7199c51b291cf3f39ab7a2000f00eaab7239fa35 /usr.sbin/ctm/ctm_rmail
parenta685613ccd8a19f61771aedc60757077b1d77696 (diff)
buf oflow
Diffstat (limited to 'usr.sbin/ctm/ctm_rmail')
-rw-r--r--usr.sbin/ctm/ctm_rmail/ctm_rmail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ctm/ctm_rmail/ctm_rmail.c b/usr.sbin/ctm/ctm_rmail/ctm_rmail.c
index cd96801f009..3a3628e2d07 100644
--- a/usr.sbin/ctm/ctm_rmail/ctm_rmail.c
+++ b/usr.sbin/ctm/ctm_rmail/ctm_rmail.c
@@ -164,7 +164,7 @@ apply_complete()
return;
}
- i = fscanf(fp, "%s %d %c", class, &dn, junk);
+ i = fscanf(fp, "%20s %d %c", class, &dn, junk);
fclose(fp);
if (i != 2)
{