Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/gnu/dist/sendmail/sendmail Pullup 1.5 [itojun]:



details:   https://anonhg.NetBSD.org/src/rev/db76b5259ba8
branches:  netbsd-1-5
changeset: 489823:db76b5259ba8
user:      tv <tv%NetBSD.org@localhost>
date:      Tue Oct 17 20:42:11 2000 +0000

description:
Pullup 1.5 [itojun]:
(unexploitable) integer range check mistake in "sendmail -bt".

diffstat:

 gnu/dist/sendmail/sendmail/readcf.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r b7a6a0b1ab37 -r db76b5259ba8 gnu/dist/sendmail/sendmail/readcf.c
--- a/gnu/dist/sendmail/sendmail/readcf.c       Tue Oct 17 20:41:44 2000 +0000
+++ b/gnu/dist/sendmail/sendmail/readcf.c       Tue Oct 17 20:42:11 2000 +0000
@@ -3007,7 +3007,7 @@
                        dprintf("setclass(%s, %s)\n", macname(class), str);
 
                s = stab(str, ST_CLASS, ST_ENTER);
-               setbitn(class, s->s_class);
+               setbitn(((unsigned int)class) & 0xff, s->s_class);
        }
 }
 /*



Home | Main Index | Thread Index | Old Index