cisco / joy

A package for capturing and analyzing network flow data and intraflow data, for network research, forensics, and security monitoring.
Other
1.3k stars 329 forks source link

updated DNS module and fixed a bug in IPv6 header creation when libpcap header is not present. #273

Closed bhudson33 closed 5 years ago

bhudson33 commented 5 years ago

updated DNS module and fixed a bug in IPv6 header creation when libpcap header is not present.

sonatype-lift[bot] commented 5 years ago
Persistent Bugs or Warnings (81) #### Infer 1. DEAD_STORE - At [src/dhcp.c(950,5)](https://github.com/cisco/joy/blob/73c81bc696c031c2210391cdd7dc710a730d7eea/src/dhcp.c#L950) - The value written to &pkt_ptr (type unsigned char const *) is never used. 1. DEAD_STORE - At [src/ipfix.c(456,5)](https://github.com/cisco/joy/blob/73c81bc696c031c2210391cdd7dc710a730d7eea/src/ipfix.c#L456) - The value written to &ptr (type void*) is never used. 1. DEAD_STORE - At [src/joy.c(1093,9)](https://github.com/cisco/joy/blob/73c81bc696c031c2210391cdd7dc710a730d7eea/src/joy.c#L1093) - The value written to &fc_cnt (type int) is never used. 1. DEAD_STORE - At [src/p2f.c(1528,13)](https://github.com/cisco/joy/blob/73c81bc696c031c2210391cdd7dc710a730d7eea/src/p2f.c#L1528) - The value written to &compact_array (type unsigned int const *) is never used. 1. DEAD_STORE - At [src/p2f.c(1054,17)](https://github.com/cisco/joy/blob/73c81bc696c031c2210391cdd7dc710a730d7eea/src/p2f.c#L1054) - The value written to &comma (type unsigned char) is never used. 1. DEAD_STORE - At [src/parson.c(1104,5)](https://github.com/cisco/joy/blob/73c81bc696c031c2210391cdd7dc710a730d7eea/src/parson.c#L1104) - The value written to &written (type int) is never used. 1. DEAD_STORE - At [src/parson.c(1826,5)](https://github.com/cisco/joy/blob/73c81bc696c031c2210391cdd7dc710a730d7eea/src/parson.c#L1826) - The value written to &status (type int) is never used. 1. DEAD_STORE - At [src/parson.c(1041,5)](https://github.com/cisco/joy/blob/73c81bc696c031c2210391cdd7dc710a730d7eea/src/parson.c#L1041) - The value written to &written (type int) is never used. 1. DEAD_STORE - At [src/parson.c(1529,5)](https://github.com/cisco/joy/blob/73c81bc696c031c2210391cdd7dc710a730d7eea/src/parson.c#L1529) - The value written to &written (type int) is never used. 1. DEAD_STORE - At [src/parson.c(1589,5)](https://github.com/cisco/joy/blob/73c81bc696c031c2210391cdd7dc710a730d7eea/src/parson.c#L1589) - The value written to &written (type int) is never used. 1. DEAD_STORE - At [src/parson.c(1024,17)](https://github.com/cisco/joy/blob/73c81bc696c031c2210391cdd7dc710a730d7eea/src/parson.c#L1024) - The value written to &buf (type char*) is never used. 1. DEAD_STORE - At [src/parson.c(910,5)](https://github.com/cisco/joy/blob/73c81bc696c031c2210391cdd7dc710a730d7eea/src/parson.c#L910) - The value written to &written (type int) is never used. 1. DEAD_STORE - At [src/parson.c(1564,5)](https://github.com/cisco/joy/blob/73c81bc696c031c2210391cdd7dc710a730d7eea/src/parson.c#L1564) - The value written to &serialization_result (type int) is never used. 1. DEAD_STORE - At [src/parson.c(1624,5)](https://github.com/cisco/joy/blob/73c81bc696c031c2210391cdd7dc710a730d7eea/src/parson.c#L1624) - The value written to &serialization_result (type int) is never used. 1. DEAD_STORE - At [src/parson.c(1941,5)](https://github.com/cisco/joy/blob/73c81bc696c031c2210391cdd7dc710a730d7eea/src/parson.c#L1941) - The value written to &schema_type (type int) is never used.
sonatype-lift[bot] commented 5 years ago

Muse Analysis Complete

Analysis tools: [ Infer ] run on commits [ 73c81bc6 .. 89c6d902 ]

sonatype-lift[bot] commented 5 years ago
Persistent Bugs or Warnings (81) #### Infer 1. DEAD_STORE - At [src/dhcp.c(950,5)](https://github.com/cisco/joy/blob/bcc60c6221ed2ca30cf0e30d506ffee10f514151/src/dhcp.c#L950) - The value written to &pkt_ptr (type unsigned char const *) is never used. 1. DEAD_STORE - At [src/ipfix.c(456,5)](https://github.com/cisco/joy/blob/bcc60c6221ed2ca30cf0e30d506ffee10f514151/src/ipfix.c#L456) - The value written to &ptr (type void*) is never used. 1. DEAD_STORE - At [src/joy.c(1093,9)](https://github.com/cisco/joy/blob/bcc60c6221ed2ca30cf0e30d506ffee10f514151/src/joy.c#L1093) - The value written to &fc_cnt (type int) is never used. 1. DEAD_STORE - At [src/p2f.c(1528,13)](https://github.com/cisco/joy/blob/bcc60c6221ed2ca30cf0e30d506ffee10f514151/src/p2f.c#L1528) - The value written to &compact_array (type unsigned int const *) is never used. 1. DEAD_STORE - At [src/p2f.c(1054,17)](https://github.com/cisco/joy/blob/bcc60c6221ed2ca30cf0e30d506ffee10f514151/src/p2f.c#L1054) - The value written to &comma (type unsigned char) is never used. 1. DEAD_STORE - At [src/parson.c(1104,5)](https://github.com/cisco/joy/blob/bcc60c6221ed2ca30cf0e30d506ffee10f514151/src/parson.c#L1104) - The value written to &written (type int) is never used. 1. DEAD_STORE - At [src/parson.c(1826,5)](https://github.com/cisco/joy/blob/bcc60c6221ed2ca30cf0e30d506ffee10f514151/src/parson.c#L1826) - The value written to &status (type int) is never used. 1. DEAD_STORE - At [src/parson.c(1041,5)](https://github.com/cisco/joy/blob/bcc60c6221ed2ca30cf0e30d506ffee10f514151/src/parson.c#L1041) - The value written to &written (type int) is never used. 1. DEAD_STORE - At [src/parson.c(1529,5)](https://github.com/cisco/joy/blob/bcc60c6221ed2ca30cf0e30d506ffee10f514151/src/parson.c#L1529) - The value written to &written (type int) is never used. 1. DEAD_STORE - At [src/parson.c(1589,5)](https://github.com/cisco/joy/blob/bcc60c6221ed2ca30cf0e30d506ffee10f514151/src/parson.c#L1589) - The value written to &written (type int) is never used. 1. DEAD_STORE - At [src/parson.c(1024,17)](https://github.com/cisco/joy/blob/bcc60c6221ed2ca30cf0e30d506ffee10f514151/src/parson.c#L1024) - The value written to &buf (type char*) is never used. 1. DEAD_STORE - At [src/parson.c(910,5)](https://github.com/cisco/joy/blob/bcc60c6221ed2ca30cf0e30d506ffee10f514151/src/parson.c#L910) - The value written to &written (type int) is never used. 1. DEAD_STORE - At [src/parson.c(1564,5)](https://github.com/cisco/joy/blob/bcc60c6221ed2ca30cf0e30d506ffee10f514151/src/parson.c#L1564) - The value written to &serialization_result (type int) is never used. 1. DEAD_STORE - At [src/parson.c(1624,5)](https://github.com/cisco/joy/blob/bcc60c6221ed2ca30cf0e30d506ffee10f514151/src/parson.c#L1624) - The value written to &serialization_result (type int) is never used. 1. DEAD_STORE - At [src/parson.c(1941,5)](https://github.com/cisco/joy/blob/bcc60c6221ed2ca30cf0e30d506ffee10f514151/src/parson.c#L1941) - The value written to &schema_type (type int) is never used.
sonatype-lift[bot] commented 5 years ago

Muse Analysis Complete

Analysis tools: [ Infer ] run on commits [ bcc60c62 .. 89c6d902 ]