diff options
Diffstat (limited to 'print-telnet.c')
-rw-r--r-- | print-telnet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/print-telnet.c b/print-telnet.c index a6640346..10fad9fe 100644 --- a/print-telnet.c +++ b/print-telnet.c @@ -442,6 +442,7 @@ telnet_parse(netdissect_options *ndo, const u_char *sp, u_int length, int print) break; p++; } + ND_TCHECK(*p); if (*p != IAC) goto pktend; |