diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-05-14 09:35:03 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-05-14 09:35:03 +0000 |
commit | 16c2220d2985d628f7824dc6e26e1165c1cb0900 (patch) | |
tree | 7199c51b291cf3f39ab7a2000f00eaab7239fa35 /usr.sbin/ctm/ctm_rmail | |
parent | a685613ccd8a19f61771aedc60757077b1d77696 (diff) |
buf oflow
Diffstat (limited to 'usr.sbin/ctm/ctm_rmail')
-rw-r--r-- | usr.sbin/ctm/ctm_rmail/ctm_rmail.c | 2 |
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) { |