]> The Tcpdump Group git mirrors - tcpdump/blobdiff - signature.c
CVE-2017-5485/add the test case
[tcpdump] / signature.c
index d9811a0be8cd632bb49228ca7f88bdf1e4aa45f3..1af798a2b45d446e98488a8ff82ef092019190d5 100644 (file)
@@ -167,7 +167,7 @@ signature_verify(netdissect_options *ndo, const u_char *pptr, u_int plen,
      * Clear anything else that needs to be cleared in the copy.
      * Our caller is assumed to have vetted the clear_arg pointer.
      */
-    (*clear_rtn)((void *)(packet_copy + ((const u_int8_t *)clear_arg - pptr)));
+    (*clear_rtn)((void *)(packet_copy + ((const uint8_t *)clear_arg - pptr)));
 
     /*
      * Compute the signature.