]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-sctp.c
CVE-2017-13045/VQP: add some bounds checks
[tcpdump] / print-sctp.c
index 70738e66185be5283808c58a520675c9b9343f4b..f625dce67b03df12bb578dd600ea3cf918d5d825 100644 (file)
@@ -693,7 +693,7 @@ void sctp_print(netdissect_options *ndo,
            sctpPacketLengthRemaining -= sizeof(*init);
            chunkLengthRemaining -= sizeof(*init);
 
-#if(0) /* ALC you can add code for optional params here */
+#if 0 /* ALC you can add code for optional params here */
            if( chunkLengthRemaining != 0 )
              ND_PRINT((ndo, " @@@@@ UNFINISHED @@@@@@%s\n",
                     "Optional params present, but not printed."));
@@ -721,7 +721,7 @@ void sctp_print(netdissect_options *ndo,
             sctpPacketLengthRemaining -= sizeof(*init);
             chunkLengthRemaining -= sizeof(*init);
 
-#if(0) /* ALC you can add code for optional params here */
+#if 0 /* ALC you can add code for optional params here */
            if( chunkLengthRemaining != 0 )
              ND_PRINT((ndo, " @@@@@ UNFINISHED @@@@@@%s\n",
                     "Optional params present, but not printed."));