]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Remove a useless warning about the SMB decoder.
authorDenis Ovsienko <[email protected]>
Sat, 28 Jul 2018 19:33:34 +0000 (20:33 +0100)
committerDenis Ovsienko <[email protected]>
Sat, 28 Jul 2018 19:48:16 +0000 (20:48 +0100)
In the last couple years it had been proved that any decoder can
potentially have buffer overflows, hence let's not emphasize one of them
more than the others.

configure
configure.ac

index 445480406e6eb8ba9f208642e95680ff83a79d78..fec27712c32e5701603abde1dceb80373db08818 100755 (executable)
--- a/configure
+++ b/configure
@@ -4262,8 +4262,6 @@ fi
 case "$enableval" in
 yes)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
 case "$enableval" in
 yes)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The SMB printer may have exploitable buffer overflows!!!" >&5
-$as_echo "$as_me: WARNING: The SMB printer may have exploitable buffer overflows!!!" >&2;}
 
 $as_echo "#define ENABLE_SMB 1" >>confdefs.h
 
 
 $as_echo "#define ENABLE_SMB 1" >>confdefs.h
 
index 4b113c48be0e394d723d964d1924a295b9644548..0202f0399e47e720efa22f711749b311ee59b67a 100644 (file)
@@ -145,7 +145,6 @@ AC_ARG_ENABLE(smb,
    enableval=yes)
 case "$enableval" in
 yes)   AC_MSG_RESULT(yes)
    enableval=yes)
 case "$enableval" in
 yes)   AC_MSG_RESULT(yes)
-       AC_WARN([The SMB printer may have exploitable buffer overflows!!!])
        AC_DEFINE(ENABLE_SMB, 1,
            [define if you want to build the possibly-buggy SMB printer])
        LOCALSRC="print-smb.c smbutil.c $LOCALSRC"
        AC_DEFINE(ENABLE_SMB, 1,
            [define if you want to build the possibly-buggy SMB printer])
        LOCALSRC="print-smb.c smbutil.c $LOCALSRC"