Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F169523390
D58554.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
516 B
Referenced Files
None
Subscribers
None
D58554.diff
View Options
diff --git a/usr.sbin/ppp/lcp.c b/usr.sbin/ppp/lcp.c
--- a/usr.sbin/ppp/lcp.c
+++ b/usr.sbin/ppp/lcp.c
@@ -1195,6 +1195,12 @@
break;
case TY_ENDDISC:
+ if (opt->hdr.len < 3) {
+ log_Printf(LogLCP, "%s - too short\n", request);
+ fsm_rej(dec, opt);
+ lcp->my_reject |= (1 << opt->hdr.id);
+ break;
+ }
mp = &lcp->fsm.bundle->ncp.mp;
log_Printf(LogLCP, "%s %s\n", request,
mp_Enddisc(opt->data[0], opt->data + 1, opt->hdr.len - 3));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Sep 2, 7:40 PM (7 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35788306
Default Alt Text
D58554.diff (516 B)
Attached To
Mode
D58554: ppp: Reject invalid endpoint discriminator options
Attached
Detach File
Event Timeline
Log In to Comment