cisco / joy

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

change to joy logging for ssh.c and fix joy log rotation #254

Closed bhudson33 closed 5 years ago

bhudson33 commented 5 years ago

change to joy logging for ssh.c

sonatype-lift[bot] commented 5 years ago
Persistent Bugs or Warnings (83) 1. DEAD_STORE - At [src/dhcp.c(950,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/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/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ipfix.c#L456) - The value written to &ptr (type void*) is never used. 1. DEAD_STORE - At [src/joy.c(1055,9)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/joy.c#L1055) - 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/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/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/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/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/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/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/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/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/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/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/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/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/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/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/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/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/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/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/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/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/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/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/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/parson.c#L1941) - The value written to &schema_type (type int) is never used. 1. DEAD_STORE - At [src/parson.c(1941,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/parson.c#L1941) - The value written to &value_type (type int) is never used. 1. DEAD_STORE - At [src/ppi.c(390,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ppi.c#L390) - The value written to &dir (type char const *) is never used. 1. DEAD_STORE - At [src/procwatch.c(546,9)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/procwatch.c#L546) - The value written to &rc (type int) is never used. 1. DEAD_STORE - At [src/procwatch.c(724,9)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/procwatch.c#L724) - The value written to &rc (type int) is never used. 1. DEAD_STORE - At [src/procwatch.c(651,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/procwatch.c#L651) - The value written to &s (type char*) is never used. 1. DEAD_STORE - At [src/procwatch.c(665,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/procwatch.c#L665) - The value written to &string (type char*) is never used. 1. DEAD_STORE - At [src/radix_trie.c(823,9)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/radix_trie.c#L823) - The value written to &test_failed (type unsigned int) is never used. 1. DEAD_STORE - At [src/radix_trie.c(746,13)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/radix_trie.c#L746) - The value written to &ptr (type char*) is never used. 1. DEAD_STORE - At [src/radix_trie.c(906,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/radix_trie.c#L906) - The value written to &flag (type unsigned int) is never used. 1. DEAD_STORE - At [src/tls.c(1845,9)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/tls.c#L1845) - The value written to &ts_start (type timeval) is never used. 1. DEAD_STORE - At [src/tls.c(3226,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/tls.c#L3226) - The value written to &payload_ptr (type unsigned char const *) is never used. 1. DEAD_STORE - At [src/tls.c(1640,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/tls.c#L1640) - The value written to &msg_len (type int) is never used. 1. MEMORY_LEAK - At [src/ike.c(3039,9)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ike.c#L3039) - memory dynamically allocated by call to `ike_proposal_init()` at line 3039, column 9 is not reachable after line 3039, column 9. 1. MEMORY_LEAK - At [src/ike.c(2519,9)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ike.c#L2519) - memory dynamically allocated by call to `ike_attribute_init()` at line 2519, column 9 is not reachable after line 2519, column 9. 1. MEMORY_LEAK - At [src/ike.c(2574,9)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ike.c#L2574) - memory dynamically allocated by call to `ike_attribute_init()` at line 2574, column 9 is not reachable after line 2574, column 9. 1. MEMORY_LEAK - At [src/ipfix.c(3433,9)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ipfix.c#L3433) - memory dynamically allocated by call to `ipfix_exp_template_malloc()` at line 3427, column 16 is not reachable after line 3433, column 9. 1. MEMORY_LEAK - At [src/ipfix.c(3380,9)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ipfix.c#L3380) - memory dynamically allocated by call to `ipfix_exp_template_malloc()` at line 3374, column 16 is not reachable after line 3380, column 9. 1. MEMORY_LEAK - At [src/joy_api.c(2112,9)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/joy_api.c#L2112) - `next_rec` is not reachable after line 2112, column 9. 1. MEMORY_LEAK - At [src/joy_api_test2.c(89,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/joy_api_test2.c#L89) - memory dynamically allocated by call to `joy_process_packet()` at line 89, column 5 is not reachable after line 89, column 5. 1. MEMORY_LEAK - At [src/tls.c(1181,13)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/tls.c#L1181) - memory dynamically allocated by call to `tls_x509_get_serial()` at line 1175, column 13 is not reachable after line 1181, column 13. 1. MEMORY_LEAK - At [src/tls.c(3083,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/tls.c#L3083) - memory dynamically allocated to `record` by call to `tls_init()` at line 2942, column 5 is not reachable after line 3083, column 5. 1. MEMORY_LEAK - At [src/tls.c(3193,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/tls.c#L3193) - memory dynamically allocated to `record` by call to `tls_init()` at line 3098, column 5 is not reachable after line 3193, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(2343,9)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ike.c#L2343) - pointer `s->data` last assigned on line 2327 could be null and is dereferenced by call to `vector_set()` at line 2343, column 9. 1. NULL_DEREFERENCE - At [src/ike.c(3697,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ike.c#L3697) - pointer `s->data` last assigned on line 3696 could be null and is dereferenced by call to `vector_set()` at line 3697, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3498,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ike.c#L3498) - pointer `s->data` last assigned on line 3497 could be null and is dereferenced by call to `vector_set()` at line 3498, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3597,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ike.c#L3597) - pointer `s->data` last assigned on line 3596 could be null and is dereferenced by call to `vector_set()` at line 3597, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3776,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ike.c#L3776) - pointer `s->data` last assigned on line 3775 could be null and is dereferenced by call to `vector_set()` at line 3776, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3399,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ike.c#L3399) - pointer `s->data` last assigned on line 3398 could be null and is dereferenced by call to `vector_set()` at line 3399, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3249,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ike.c#L3249) - pointer `s->data` last assigned on line 3248 could be null and is dereferenced by call to `vector_set()` at line 3249, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3270,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ike.c#L3270) - pointer `s->data` last assigned on line 3269 could be null and is dereferenced by call to `vector_set()` at line 3270, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(4105,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ike.c#L4105) - pointer `s->data` last assigned on line 4104 could be null and is dereferenced by call to `vector_set()` at line 4105, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3980,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ike.c#L3980) - pointer `s->spi` last assigned on line 3979 could be null and is dereferenced by call to `vector_set()` at line 3980, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(4021,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ike.c#L4021) - pointer `s->spi` last assigned on line 4020 could be null and is dereferenced by call to `vector_set()` at line 4021, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(2770,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ike.c#L2770) - pointer `s->spi` last assigned on line 2769 could be null and is dereferenced by call to `vector_set()` at line 2770, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(2841,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ike.c#L2841) - pointer `s->spi` last assigned on line 2840 could be null and is dereferenced by call to `vector_set()` at line 2841, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3094,13)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ike.c#L3094) - pointer `s->secrecy_level_v1` last assigned on line 3093 could be null and is dereferenced by call to `vector_set()` at line 3094, column 13. 1. NULL_DEREFERENCE - At [src/ike.c(4211,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ike.c#L4211) - pointer `s->data` last assigned on line 4210 could be null and is dereferenced by call to `vector_set()` at line 4211, column 5. 1. NULL_DEREFERENCE - At [src/ipfix.c(4118,48)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ipfix.c#L4118) - pointer `template` last assigned on line 4105 could be null and is dereferenced at line 4118, column 48. 1. NULL_DEREFERENCE - At [src/joy_api.c(351,14)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/joy_api.c#L351) - pointer `t` last assigned on line 347 could be null and is dereferenced at line 351, column 14. 1. NULL_DEREFERENCE - At [src/joy_api_test2.c(96,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/joy_api_test2.c#L96) - pointer `null` could be null and is dereferenced by call to `joy_process_packet()` at line 96, column 5. 1. NULL_DEREFERENCE - At [src/parson.c(1488,21)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/parson.c#L1488) - pointer `temp_object_copy->names` last assigned on line 1475 could be null and is dereferenced by call to `json_object_add()` at line 1488, column 21. 1. NULL_DEREFERENCE - At [src/radix_trie.c(812,21)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/radix_trie.c#L812) - pointer `rt` last assigned on line 805 could be null and is dereferenced by call to `radix_trie_add_attr_label()` at line 812, column 21. 1. NULL_DEREFERENCE - At [src/ssh.c(766,76)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ssh.c#L766) - pointer `*ssh_handle->buffer` last assigned on line 766 could be null and is dereferenced by call to `vector_init()` at line 766, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(773,76)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ssh.c#L773) - pointer `*ssh_handle->c_comp_algos` last assigned on line 773 could be null and is dereferenced by call to `vector_init()` at line 773, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(769,76)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ssh.c#L769) - pointer `*ssh_handle->c_encryption_algos` last assigned on line 769 could be null and is dereferenced by call to `vector_init()` at line 769, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(779,76)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ssh.c#L779) - pointer `*ssh_handle->c_kex` last assigned on line 779 could be null and is dereferenced by call to `vector_init()` at line 779, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(775,76)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ssh.c#L775) - pointer `*ssh_handle->c_languages` last assigned on line 775 could be null and is dereferenced by call to `vector_init()` at line 775, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(771,76)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ssh.c#L771) - pointer `*ssh_handle->c_mac_algos` last assigned on line 771 could be null and is dereferenced by call to `vector_init()` at line 771, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(767,76)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ssh.c#L767) - pointer `*ssh_handle->kex_algos` last assigned on line 767 could be null and is dereferenced by call to `vector_init()` at line 767, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(786,76)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ssh.c#L786) - pointer `*ssh_handle->kex_msgs[i].data` last assigned on line 786 could be null and is dereferenced by call to `vector_init()` at line 786, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(774,76)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ssh.c#L774) - pointer `*ssh_handle->s_comp_algos` last assigned on line 774 could be null and is dereferenced by call to `vector_init()` at line 774, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(770,76)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ssh.c#L770) - pointer `*ssh_handle->s_encryption_algos` last assigned on line 770 could be null and is dereferenced by call to `vector_init()` at line 770, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(784,76)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ssh.c#L784) - pointer `*ssh_handle->s_gex_g` last assigned on line 784 could be null and is dereferenced by call to `vector_init()` at line 784, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(783,76)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ssh.c#L783) - pointer `*ssh_handle->s_gex_p` last assigned on line 783 could be null and is dereferenced by call to `vector_init()` at line 783, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(768,76)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ssh.c#L768) - pointer `*ssh_handle->s_host_key_algos` last assigned on line 768 could be null and is dereferenced by call to `vector_init()` at line 768, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(777,76)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ssh.c#L777) - pointer `*ssh_handle->s_hostkey_type` last assigned on line 777 could be null and is dereferenced by call to `vector_init()` at line 777, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(781,76)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ssh.c#L781) - pointer `*ssh_handle->s_hostkey` last assigned on line 781 could be null and is dereferenced by call to `vector_init()` at line 781, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(780,76)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ssh.c#L780) - pointer `*ssh_handle->s_kex` last assigned on line 780 could be null and is dereferenced by call to `vector_init()` at line 780, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(776,76)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ssh.c#L776) - pointer `*ssh_handle->s_languages` last assigned on line 776 could be null and is dereferenced by call to `vector_init()` at line 776, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(772,76)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ssh.c#L772) - pointer `*ssh_handle->s_mac_algos` last assigned on line 772 could be null and is dereferenced by call to `vector_init()` at line 772, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(778,76)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ssh.c#L778) - pointer `*ssh_handle->s_signature_type` last assigned on line 778 could be null and is dereferenced by call to `vector_init()` at line 778, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(782,76)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ssh.c#L782) - pointer `*ssh_handle->s_signature` last assigned on line 782 could be null and is dereferenced by call to `vector_init()` at line 782, column 76. 1. NULL_DEREFERENCE - At [src/tls.c(2397,9)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/tls.c#L2397) - pointer `tmp_tls_record` last assigned on line 2395 could be null and is dereferenced at line 2397, column 9. 1. NULL_DEREFERENCE - At [src/tls.c(2954,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/tls.c#L2954) - pointer `record` last assigned on line 2942 could be null and is dereferenced by call to `tls_handshake_hello_get_version()` at line 2954, column 5. 1. NULL_DEREFERENCE - At [src/tls.c(3110,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/tls.c#L3110) - pointer `record` last assigned on line 3098 could be null and is dereferenced by call to `tls_handshake_hello_get_version()` at line 3110, column 5. 1. NULL_DEREFERENCE - At [src/tls.c(3252,5)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/tls.c#L3252) - pointer `record` last assigned on line 3250 could be null and is dereferenced by call to `tls_handshake_hello_get_version()` at line 3252, column 5. 1. RESOURCE_LEAK - At [src/config.c(409,21)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/config.c#L409) - resource of type `_IO_FILE` acquired by call to `open_config_file()` at line 392, column 9 is not released after line 409, column 21. 1. UNINITIALIZED_VALUE - At [src/ppi.c(307,9)](https://github.com/cisco/joy/blob/87b01c7f4eea395fc3a1f8213d7c27ad9cba495d/src/ppi.c#L307) - The value read from optlen was never initialized.
sonatype-lift[bot] commented 5 years ago

Muse Analysis Complete

Analysis tools: [ Infer ] run on commits [ 87b01c7f .. 0a4b8c47 ]

sonatype-lift[bot] commented 5 years ago
Persistent Bugs or Warnings (83) 1. DEAD_STORE - At [src/dhcp.c(950,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/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/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ipfix.c#L456) - The value written to &ptr (type void*) is never used. 1. DEAD_STORE - At [src/joy.c(1055,9)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/joy.c#L1055) - 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/034a709c69d8fdaf1963cda477be0a9cb92cc003/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/034a709c69d8fdaf1963cda477be0a9cb92cc003/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/034a709c69d8fdaf1963cda477be0a9cb92cc003/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/034a709c69d8fdaf1963cda477be0a9cb92cc003/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/034a709c69d8fdaf1963cda477be0a9cb92cc003/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/034a709c69d8fdaf1963cda477be0a9cb92cc003/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/034a709c69d8fdaf1963cda477be0a9cb92cc003/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/034a709c69d8fdaf1963cda477be0a9cb92cc003/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/034a709c69d8fdaf1963cda477be0a9cb92cc003/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/034a709c69d8fdaf1963cda477be0a9cb92cc003/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/034a709c69d8fdaf1963cda477be0a9cb92cc003/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/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/parson.c#L1941) - The value written to &schema_type (type int) is never used. 1. DEAD_STORE - At [src/parson.c(1941,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/parson.c#L1941) - The value written to &value_type (type int) is never used. 1. DEAD_STORE - At [src/ppi.c(390,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ppi.c#L390) - The value written to &dir (type char const *) is never used. 1. DEAD_STORE - At [src/procwatch.c(546,9)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/procwatch.c#L546) - The value written to &rc (type int) is never used. 1. DEAD_STORE - At [src/procwatch.c(724,9)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/procwatch.c#L724) - The value written to &rc (type int) is never used. 1. DEAD_STORE - At [src/procwatch.c(651,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/procwatch.c#L651) - The value written to &s (type char*) is never used. 1. DEAD_STORE - At [src/procwatch.c(665,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/procwatch.c#L665) - The value written to &string (type char*) is never used. 1. DEAD_STORE - At [src/radix_trie.c(823,9)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/radix_trie.c#L823) - The value written to &test_failed (type unsigned int) is never used. 1. DEAD_STORE - At [src/radix_trie.c(746,13)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/radix_trie.c#L746) - The value written to &ptr (type char*) is never used. 1. DEAD_STORE - At [src/radix_trie.c(906,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/radix_trie.c#L906) - The value written to &flag (type unsigned int) is never used. 1. DEAD_STORE - At [src/tls.c(1845,9)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/tls.c#L1845) - The value written to &ts_start (type timeval) is never used. 1. DEAD_STORE - At [src/tls.c(3226,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/tls.c#L3226) - The value written to &payload_ptr (type unsigned char const *) is never used. 1. DEAD_STORE - At [src/tls.c(1640,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/tls.c#L1640) - The value written to &msg_len (type int) is never used. 1. MEMORY_LEAK - At [src/ike.c(3039,9)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ike.c#L3039) - memory dynamically allocated by call to `ike_proposal_init()` at line 3039, column 9 is not reachable after line 3039, column 9. 1. MEMORY_LEAK - At [src/ike.c(2519,9)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ike.c#L2519) - memory dynamically allocated by call to `ike_attribute_init()` at line 2519, column 9 is not reachable after line 2519, column 9. 1. MEMORY_LEAK - At [src/ike.c(2574,9)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ike.c#L2574) - memory dynamically allocated by call to `ike_attribute_init()` at line 2574, column 9 is not reachable after line 2574, column 9. 1. MEMORY_LEAK - At [src/ipfix.c(3433,9)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ipfix.c#L3433) - memory dynamically allocated by call to `ipfix_exp_template_malloc()` at line 3427, column 16 is not reachable after line 3433, column 9. 1. MEMORY_LEAK - At [src/ipfix.c(3380,9)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ipfix.c#L3380) - memory dynamically allocated by call to `ipfix_exp_template_malloc()` at line 3374, column 16 is not reachable after line 3380, column 9. 1. MEMORY_LEAK - At [src/joy_api.c(2112,9)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/joy_api.c#L2112) - `next_rec` is not reachable after line 2112, column 9. 1. MEMORY_LEAK - At [src/joy_api_test2.c(89,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/joy_api_test2.c#L89) - memory dynamically allocated by call to `joy_process_packet()` at line 89, column 5 is not reachable after line 89, column 5. 1. MEMORY_LEAK - At [src/tls.c(1181,13)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/tls.c#L1181) - memory dynamically allocated by call to `tls_x509_get_serial()` at line 1175, column 13 is not reachable after line 1181, column 13. 1. MEMORY_LEAK - At [src/tls.c(3083,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/tls.c#L3083) - memory dynamically allocated to `record` by call to `tls_init()` at line 2942, column 5 is not reachable after line 3083, column 5. 1. MEMORY_LEAK - At [src/tls.c(3193,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/tls.c#L3193) - memory dynamically allocated to `record` by call to `tls_init()` at line 3098, column 5 is not reachable after line 3193, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(2343,9)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ike.c#L2343) - pointer `s->data` last assigned on line 2327 could be null and is dereferenced by call to `vector_set()` at line 2343, column 9. 1. NULL_DEREFERENCE - At [src/ike.c(3697,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ike.c#L3697) - pointer `s->data` last assigned on line 3696 could be null and is dereferenced by call to `vector_set()` at line 3697, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3498,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ike.c#L3498) - pointer `s->data` last assigned on line 3497 could be null and is dereferenced by call to `vector_set()` at line 3498, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3597,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ike.c#L3597) - pointer `s->data` last assigned on line 3596 could be null and is dereferenced by call to `vector_set()` at line 3597, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3776,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ike.c#L3776) - pointer `s->data` last assigned on line 3775 could be null and is dereferenced by call to `vector_set()` at line 3776, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3399,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ike.c#L3399) - pointer `s->data` last assigned on line 3398 could be null and is dereferenced by call to `vector_set()` at line 3399, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3249,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ike.c#L3249) - pointer `s->data` last assigned on line 3248 could be null and is dereferenced by call to `vector_set()` at line 3249, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3270,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ike.c#L3270) - pointer `s->data` last assigned on line 3269 could be null and is dereferenced by call to `vector_set()` at line 3270, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(4105,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ike.c#L4105) - pointer `s->data` last assigned on line 4104 could be null and is dereferenced by call to `vector_set()` at line 4105, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3980,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ike.c#L3980) - pointer `s->spi` last assigned on line 3979 could be null and is dereferenced by call to `vector_set()` at line 3980, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(4021,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ike.c#L4021) - pointer `s->spi` last assigned on line 4020 could be null and is dereferenced by call to `vector_set()` at line 4021, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(2770,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ike.c#L2770) - pointer `s->spi` last assigned on line 2769 could be null and is dereferenced by call to `vector_set()` at line 2770, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(2841,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ike.c#L2841) - pointer `s->spi` last assigned on line 2840 could be null and is dereferenced by call to `vector_set()` at line 2841, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3094,13)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ike.c#L3094) - pointer `s->secrecy_level_v1` last assigned on line 3093 could be null and is dereferenced by call to `vector_set()` at line 3094, column 13. 1. NULL_DEREFERENCE - At [src/ike.c(4211,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ike.c#L4211) - pointer `s->data` last assigned on line 4210 could be null and is dereferenced by call to `vector_set()` at line 4211, column 5. 1. NULL_DEREFERENCE - At [src/ipfix.c(4118,48)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ipfix.c#L4118) - pointer `template` last assigned on line 4105 could be null and is dereferenced at line 4118, column 48. 1. NULL_DEREFERENCE - At [src/joy_api.c(351,14)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/joy_api.c#L351) - pointer `t` last assigned on line 347 could be null and is dereferenced at line 351, column 14. 1. NULL_DEREFERENCE - At [src/joy_api_test2.c(96,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/joy_api_test2.c#L96) - pointer `null` could be null and is dereferenced by call to `joy_process_packet()` at line 96, column 5. 1. NULL_DEREFERENCE - At [src/parson.c(1488,21)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/parson.c#L1488) - pointer `temp_object_copy->names` last assigned on line 1475 could be null and is dereferenced by call to `json_object_add()` at line 1488, column 21. 1. NULL_DEREFERENCE - At [src/radix_trie.c(812,21)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/radix_trie.c#L812) - pointer `rt` last assigned on line 805 could be null and is dereferenced by call to `radix_trie_add_attr_label()` at line 812, column 21. 1. NULL_DEREFERENCE - At [src/ssh.c(766,76)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ssh.c#L766) - pointer `*ssh_handle->buffer` last assigned on line 766 could be null and is dereferenced by call to `vector_init()` at line 766, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(773,76)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ssh.c#L773) - pointer `*ssh_handle->c_comp_algos` last assigned on line 773 could be null and is dereferenced by call to `vector_init()` at line 773, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(769,76)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ssh.c#L769) - pointer `*ssh_handle->c_encryption_algos` last assigned on line 769 could be null and is dereferenced by call to `vector_init()` at line 769, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(779,76)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ssh.c#L779) - pointer `*ssh_handle->c_kex` last assigned on line 779 could be null and is dereferenced by call to `vector_init()` at line 779, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(775,76)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ssh.c#L775) - pointer `*ssh_handle->c_languages` last assigned on line 775 could be null and is dereferenced by call to `vector_init()` at line 775, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(771,76)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ssh.c#L771) - pointer `*ssh_handle->c_mac_algos` last assigned on line 771 could be null and is dereferenced by call to `vector_init()` at line 771, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(767,76)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ssh.c#L767) - pointer `*ssh_handle->kex_algos` last assigned on line 767 could be null and is dereferenced by call to `vector_init()` at line 767, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(786,76)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ssh.c#L786) - pointer `*ssh_handle->kex_msgs[i].data` last assigned on line 786 could be null and is dereferenced by call to `vector_init()` at line 786, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(774,76)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ssh.c#L774) - pointer `*ssh_handle->s_comp_algos` last assigned on line 774 could be null and is dereferenced by call to `vector_init()` at line 774, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(770,76)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ssh.c#L770) - pointer `*ssh_handle->s_encryption_algos` last assigned on line 770 could be null and is dereferenced by call to `vector_init()` at line 770, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(784,76)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ssh.c#L784) - pointer `*ssh_handle->s_gex_g` last assigned on line 784 could be null and is dereferenced by call to `vector_init()` at line 784, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(783,76)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ssh.c#L783) - pointer `*ssh_handle->s_gex_p` last assigned on line 783 could be null and is dereferenced by call to `vector_init()` at line 783, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(768,76)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ssh.c#L768) - pointer `*ssh_handle->s_host_key_algos` last assigned on line 768 could be null and is dereferenced by call to `vector_init()` at line 768, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(777,76)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ssh.c#L777) - pointer `*ssh_handle->s_hostkey_type` last assigned on line 777 could be null and is dereferenced by call to `vector_init()` at line 777, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(781,76)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ssh.c#L781) - pointer `*ssh_handle->s_hostkey` last assigned on line 781 could be null and is dereferenced by call to `vector_init()` at line 781, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(780,76)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ssh.c#L780) - pointer `*ssh_handle->s_kex` last assigned on line 780 could be null and is dereferenced by call to `vector_init()` at line 780, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(776,76)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ssh.c#L776) - pointer `*ssh_handle->s_languages` last assigned on line 776 could be null and is dereferenced by call to `vector_init()` at line 776, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(772,76)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ssh.c#L772) - pointer `*ssh_handle->s_mac_algos` last assigned on line 772 could be null and is dereferenced by call to `vector_init()` at line 772, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(778,76)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ssh.c#L778) - pointer `*ssh_handle->s_signature_type` last assigned on line 778 could be null and is dereferenced by call to `vector_init()` at line 778, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(782,76)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ssh.c#L782) - pointer `*ssh_handle->s_signature` last assigned on line 782 could be null and is dereferenced by call to `vector_init()` at line 782, column 76. 1. NULL_DEREFERENCE - At [src/tls.c(2397,9)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/tls.c#L2397) - pointer `tmp_tls_record` last assigned on line 2395 could be null and is dereferenced at line 2397, column 9. 1. NULL_DEREFERENCE - At [src/tls.c(2954,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/tls.c#L2954) - pointer `record` last assigned on line 2942 could be null and is dereferenced by call to `tls_handshake_hello_get_version()` at line 2954, column 5. 1. NULL_DEREFERENCE - At [src/tls.c(3110,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/tls.c#L3110) - pointer `record` last assigned on line 3098 could be null and is dereferenced by call to `tls_handshake_hello_get_version()` at line 3110, column 5. 1. NULL_DEREFERENCE - At [src/tls.c(3252,5)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/tls.c#L3252) - pointer `record` last assigned on line 3250 could be null and is dereferenced by call to `tls_handshake_hello_get_version()` at line 3252, column 5. 1. RESOURCE_LEAK - At [src/config.c(409,21)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/config.c#L409) - resource of type `_IO_FILE` acquired by call to `open_config_file()` at line 392, column 9 is not released after line 409, column 21. 1. UNINITIALIZED_VALUE - At [src/ppi.c(307,9)](https://github.com/cisco/joy/blob/034a709c69d8fdaf1963cda477be0a9cb92cc003/src/ppi.c#L307) - The value read from optlen was never initialized.
sonatype-lift[bot] commented 5 years ago

Muse Analysis Complete

Analysis tools: [ Infer ] run on commits [ 034a709c .. 16351755 ]

sonatype-lift[bot] commented 5 years ago
Persistent Bugs or Warnings (83) 1. DEAD_STORE - At [src/dhcp.c(950,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/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/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ipfix.c#L456) - The value written to &ptr (type void*) is never used. 1. DEAD_STORE - At [src/joy.c(1082,9)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/joy.c#L1082) - 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/ef8cbd9d04ba277b3504798c94d944d89e978dac/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/ef8cbd9d04ba277b3504798c94d944d89e978dac/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/ef8cbd9d04ba277b3504798c94d944d89e978dac/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/ef8cbd9d04ba277b3504798c94d944d89e978dac/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/ef8cbd9d04ba277b3504798c94d944d89e978dac/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/ef8cbd9d04ba277b3504798c94d944d89e978dac/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/ef8cbd9d04ba277b3504798c94d944d89e978dac/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/ef8cbd9d04ba277b3504798c94d944d89e978dac/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/ef8cbd9d04ba277b3504798c94d944d89e978dac/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/ef8cbd9d04ba277b3504798c94d944d89e978dac/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/ef8cbd9d04ba277b3504798c94d944d89e978dac/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/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/parson.c#L1941) - The value written to &schema_type (type int) is never used. 1. DEAD_STORE - At [src/parson.c(1941,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/parson.c#L1941) - The value written to &value_type (type int) is never used. 1. DEAD_STORE - At [src/ppi.c(390,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ppi.c#L390) - The value written to &dir (type char const *) is never used. 1. DEAD_STORE - At [src/procwatch.c(546,9)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/procwatch.c#L546) - The value written to &rc (type int) is never used. 1. DEAD_STORE - At [src/procwatch.c(724,9)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/procwatch.c#L724) - The value written to &rc (type int) is never used. 1. DEAD_STORE - At [src/procwatch.c(651,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/procwatch.c#L651) - The value written to &s (type char*) is never used. 1. DEAD_STORE - At [src/procwatch.c(665,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/procwatch.c#L665) - The value written to &string (type char*) is never used. 1. DEAD_STORE - At [src/radix_trie.c(823,9)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/radix_trie.c#L823) - The value written to &test_failed (type unsigned int) is never used. 1. DEAD_STORE - At [src/radix_trie.c(746,13)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/radix_trie.c#L746) - The value written to &ptr (type char*) is never used. 1. DEAD_STORE - At [src/radix_trie.c(906,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/radix_trie.c#L906) - The value written to &flag (type unsigned int) is never used. 1. DEAD_STORE - At [src/tls.c(1845,9)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/tls.c#L1845) - The value written to &ts_start (type timeval) is never used. 1. DEAD_STORE - At [src/tls.c(3226,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/tls.c#L3226) - The value written to &payload_ptr (type unsigned char const *) is never used. 1. DEAD_STORE - At [src/tls.c(1640,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/tls.c#L1640) - The value written to &msg_len (type int) is never used. 1. MEMORY_LEAK - At [src/ike.c(3039,9)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ike.c#L3039) - memory dynamically allocated by call to `ike_proposal_init()` at line 3039, column 9 is not reachable after line 3039, column 9. 1. MEMORY_LEAK - At [src/ike.c(2519,9)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ike.c#L2519) - memory dynamically allocated by call to `ike_attribute_init()` at line 2519, column 9 is not reachable after line 2519, column 9. 1. MEMORY_LEAK - At [src/ike.c(2574,9)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ike.c#L2574) - memory dynamically allocated by call to `ike_attribute_init()` at line 2574, column 9 is not reachable after line 2574, column 9. 1. MEMORY_LEAK - At [src/ipfix.c(3433,9)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ipfix.c#L3433) - memory dynamically allocated by call to `ipfix_exp_template_malloc()` at line 3427, column 16 is not reachable after line 3433, column 9. 1. MEMORY_LEAK - At [src/ipfix.c(3380,9)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ipfix.c#L3380) - memory dynamically allocated by call to `ipfix_exp_template_malloc()` at line 3374, column 16 is not reachable after line 3380, column 9. 1. MEMORY_LEAK - At [src/joy_api.c(2112,9)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/joy_api.c#L2112) - `next_rec` is not reachable after line 2112, column 9. 1. MEMORY_LEAK - At [src/joy_api_test2.c(89,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/joy_api_test2.c#L89) - memory dynamically allocated by call to `joy_process_packet()` at line 89, column 5 is not reachable after line 89, column 5. 1. MEMORY_LEAK - At [src/tls.c(1181,13)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/tls.c#L1181) - memory dynamically allocated by call to `tls_x509_get_serial()` at line 1175, column 13 is not reachable after line 1181, column 13. 1. MEMORY_LEAK - At [src/tls.c(3083,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/tls.c#L3083) - memory dynamically allocated to `record` by call to `tls_init()` at line 2942, column 5 is not reachable after line 3083, column 5. 1. MEMORY_LEAK - At [src/tls.c(3193,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/tls.c#L3193) - memory dynamically allocated to `record` by call to `tls_init()` at line 3098, column 5 is not reachable after line 3193, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(2343,9)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ike.c#L2343) - pointer `s->data` last assigned on line 2327 could be null and is dereferenced by call to `vector_set()` at line 2343, column 9. 1. NULL_DEREFERENCE - At [src/ike.c(3697,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ike.c#L3697) - pointer `s->data` last assigned on line 3696 could be null and is dereferenced by call to `vector_set()` at line 3697, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3498,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ike.c#L3498) - pointer `s->data` last assigned on line 3497 could be null and is dereferenced by call to `vector_set()` at line 3498, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3597,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ike.c#L3597) - pointer `s->data` last assigned on line 3596 could be null and is dereferenced by call to `vector_set()` at line 3597, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3776,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ike.c#L3776) - pointer `s->data` last assigned on line 3775 could be null and is dereferenced by call to `vector_set()` at line 3776, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3399,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ike.c#L3399) - pointer `s->data` last assigned on line 3398 could be null and is dereferenced by call to `vector_set()` at line 3399, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3249,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ike.c#L3249) - pointer `s->data` last assigned on line 3248 could be null and is dereferenced by call to `vector_set()` at line 3249, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3270,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ike.c#L3270) - pointer `s->data` last assigned on line 3269 could be null and is dereferenced by call to `vector_set()` at line 3270, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(4105,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ike.c#L4105) - pointer `s->data` last assigned on line 4104 could be null and is dereferenced by call to `vector_set()` at line 4105, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3980,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ike.c#L3980) - pointer `s->spi` last assigned on line 3979 could be null and is dereferenced by call to `vector_set()` at line 3980, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(4021,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ike.c#L4021) - pointer `s->spi` last assigned on line 4020 could be null and is dereferenced by call to `vector_set()` at line 4021, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(2770,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ike.c#L2770) - pointer `s->spi` last assigned on line 2769 could be null and is dereferenced by call to `vector_set()` at line 2770, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(2841,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ike.c#L2841) - pointer `s->spi` last assigned on line 2840 could be null and is dereferenced by call to `vector_set()` at line 2841, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3094,13)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ike.c#L3094) - pointer `s->secrecy_level_v1` last assigned on line 3093 could be null and is dereferenced by call to `vector_set()` at line 3094, column 13. 1. NULL_DEREFERENCE - At [src/ike.c(4211,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ike.c#L4211) - pointer `s->data` last assigned on line 4210 could be null and is dereferenced by call to `vector_set()` at line 4211, column 5. 1. NULL_DEREFERENCE - At [src/ipfix.c(4118,48)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ipfix.c#L4118) - pointer `template` last assigned on line 4105 could be null and is dereferenced at line 4118, column 48. 1. NULL_DEREFERENCE - At [src/joy_api.c(351,14)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/joy_api.c#L351) - pointer `t` last assigned on line 347 could be null and is dereferenced at line 351, column 14. 1. NULL_DEREFERENCE - At [src/joy_api_test2.c(96,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/joy_api_test2.c#L96) - pointer `null` could be null and is dereferenced by call to `joy_process_packet()` at line 96, column 5. 1. NULL_DEREFERENCE - At [src/parson.c(1488,21)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/parson.c#L1488) - pointer `temp_object_copy->names` last assigned on line 1475 could be null and is dereferenced by call to `json_object_add()` at line 1488, column 21. 1. NULL_DEREFERENCE - At [src/radix_trie.c(812,21)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/radix_trie.c#L812) - pointer `rt` last assigned on line 805 could be null and is dereferenced by call to `radix_trie_add_attr_label()` at line 812, column 21. 1. NULL_DEREFERENCE - At [src/ssh.c(766,76)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ssh.c#L766) - pointer `*ssh_handle->buffer` last assigned on line 766 could be null and is dereferenced by call to `vector_init()` at line 766, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(773,76)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ssh.c#L773) - pointer `*ssh_handle->c_comp_algos` last assigned on line 773 could be null and is dereferenced by call to `vector_init()` at line 773, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(769,76)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ssh.c#L769) - pointer `*ssh_handle->c_encryption_algos` last assigned on line 769 could be null and is dereferenced by call to `vector_init()` at line 769, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(779,76)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ssh.c#L779) - pointer `*ssh_handle->c_kex` last assigned on line 779 could be null and is dereferenced by call to `vector_init()` at line 779, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(775,76)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ssh.c#L775) - pointer `*ssh_handle->c_languages` last assigned on line 775 could be null and is dereferenced by call to `vector_init()` at line 775, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(771,76)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ssh.c#L771) - pointer `*ssh_handle->c_mac_algos` last assigned on line 771 could be null and is dereferenced by call to `vector_init()` at line 771, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(767,76)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ssh.c#L767) - pointer `*ssh_handle->kex_algos` last assigned on line 767 could be null and is dereferenced by call to `vector_init()` at line 767, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(786,76)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ssh.c#L786) - pointer `*ssh_handle->kex_msgs[i].data` last assigned on line 786 could be null and is dereferenced by call to `vector_init()` at line 786, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(774,76)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ssh.c#L774) - pointer `*ssh_handle->s_comp_algos` last assigned on line 774 could be null and is dereferenced by call to `vector_init()` at line 774, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(770,76)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ssh.c#L770) - pointer `*ssh_handle->s_encryption_algos` last assigned on line 770 could be null and is dereferenced by call to `vector_init()` at line 770, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(784,76)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ssh.c#L784) - pointer `*ssh_handle->s_gex_g` last assigned on line 784 could be null and is dereferenced by call to `vector_init()` at line 784, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(783,76)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ssh.c#L783) - pointer `*ssh_handle->s_gex_p` last assigned on line 783 could be null and is dereferenced by call to `vector_init()` at line 783, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(768,76)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ssh.c#L768) - pointer `*ssh_handle->s_host_key_algos` last assigned on line 768 could be null and is dereferenced by call to `vector_init()` at line 768, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(777,76)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ssh.c#L777) - pointer `*ssh_handle->s_hostkey_type` last assigned on line 777 could be null and is dereferenced by call to `vector_init()` at line 777, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(781,76)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ssh.c#L781) - pointer `*ssh_handle->s_hostkey` last assigned on line 781 could be null and is dereferenced by call to `vector_init()` at line 781, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(780,76)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ssh.c#L780) - pointer `*ssh_handle->s_kex` last assigned on line 780 could be null and is dereferenced by call to `vector_init()` at line 780, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(776,76)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ssh.c#L776) - pointer `*ssh_handle->s_languages` last assigned on line 776 could be null and is dereferenced by call to `vector_init()` at line 776, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(772,76)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ssh.c#L772) - pointer `*ssh_handle->s_mac_algos` last assigned on line 772 could be null and is dereferenced by call to `vector_init()` at line 772, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(778,76)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ssh.c#L778) - pointer `*ssh_handle->s_signature_type` last assigned on line 778 could be null and is dereferenced by call to `vector_init()` at line 778, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(782,76)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ssh.c#L782) - pointer `*ssh_handle->s_signature` last assigned on line 782 could be null and is dereferenced by call to `vector_init()` at line 782, column 76. 1. NULL_DEREFERENCE - At [src/tls.c(2397,9)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/tls.c#L2397) - pointer `tmp_tls_record` last assigned on line 2395 could be null and is dereferenced at line 2397, column 9. 1. NULL_DEREFERENCE - At [src/tls.c(2954,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/tls.c#L2954) - pointer `record` last assigned on line 2942 could be null and is dereferenced by call to `tls_handshake_hello_get_version()` at line 2954, column 5. 1. NULL_DEREFERENCE - At [src/tls.c(3110,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/tls.c#L3110) - pointer `record` last assigned on line 3098 could be null and is dereferenced by call to `tls_handshake_hello_get_version()` at line 3110, column 5. 1. NULL_DEREFERENCE - At [src/tls.c(3252,5)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/tls.c#L3252) - pointer `record` last assigned on line 3250 could be null and is dereferenced by call to `tls_handshake_hello_get_version()` at line 3252, column 5. 1. RESOURCE_LEAK - At [src/config.c(409,21)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/config.c#L409) - resource of type `_IO_FILE` acquired by call to `open_config_file()` at line 392, column 9 is not released after line 409, column 21. 1. UNINITIALIZED_VALUE - At [src/ppi.c(307,9)](https://github.com/cisco/joy/blob/ef8cbd9d04ba277b3504798c94d944d89e978dac/src/ppi.c#L307) - The value read from optlen was never initialized.
sonatype-lift[bot] commented 5 years ago

Muse Analysis Complete

Analysis tools: [ Infer ] run on commits [ ef8cbd9d .. 16351755 ]

sonatype-lift[bot] commented 5 years ago
Persistent Bugs or Warnings (83) 1. DEAD_STORE - At [src/dhcp.c(950,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/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/30664f01b08017e786faa761aa7d5ee6be930ded/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/30664f01b08017e786faa761aa7d5ee6be930ded/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/30664f01b08017e786faa761aa7d5ee6be930ded/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/30664f01b08017e786faa761aa7d5ee6be930ded/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/30664f01b08017e786faa761aa7d5ee6be930ded/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/30664f01b08017e786faa761aa7d5ee6be930ded/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/30664f01b08017e786faa761aa7d5ee6be930ded/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/30664f01b08017e786faa761aa7d5ee6be930ded/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/30664f01b08017e786faa761aa7d5ee6be930ded/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/30664f01b08017e786faa761aa7d5ee6be930ded/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/30664f01b08017e786faa761aa7d5ee6be930ded/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/30664f01b08017e786faa761aa7d5ee6be930ded/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/30664f01b08017e786faa761aa7d5ee6be930ded/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/30664f01b08017e786faa761aa7d5ee6be930ded/src/parson.c#L1941) - The value written to &schema_type (type int) is never used. 1. DEAD_STORE - At [src/parson.c(1941,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/parson.c#L1941) - The value written to &value_type (type int) is never used. 1. DEAD_STORE - At [src/ppi.c(390,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ppi.c#L390) - The value written to &dir (type char const *) is never used. 1. DEAD_STORE - At [src/procwatch.c(546,9)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/procwatch.c#L546) - The value written to &rc (type int) is never used. 1. DEAD_STORE - At [src/procwatch.c(724,9)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/procwatch.c#L724) - The value written to &rc (type int) is never used. 1. DEAD_STORE - At [src/procwatch.c(651,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/procwatch.c#L651) - The value written to &s (type char*) is never used. 1. DEAD_STORE - At [src/procwatch.c(665,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/procwatch.c#L665) - The value written to &string (type char*) is never used. 1. DEAD_STORE - At [src/radix_trie.c(823,9)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/radix_trie.c#L823) - The value written to &test_failed (type unsigned int) is never used. 1. DEAD_STORE - At [src/radix_trie.c(746,13)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/radix_trie.c#L746) - The value written to &ptr (type char*) is never used. 1. DEAD_STORE - At [src/radix_trie.c(906,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/radix_trie.c#L906) - The value written to &flag (type unsigned int) is never used. 1. DEAD_STORE - At [src/tls.c(1845,9)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/tls.c#L1845) - The value written to &ts_start (type timeval) is never used. 1. DEAD_STORE - At [src/tls.c(3226,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/tls.c#L3226) - The value written to &payload_ptr (type unsigned char const *) is never used. 1. DEAD_STORE - At [src/tls.c(1640,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/tls.c#L1640) - The value written to &msg_len (type int) is never used. 1. MEMORY_LEAK - At [src/ike.c(3039,9)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ike.c#L3039) - memory dynamically allocated by call to `ike_proposal_init()` at line 3039, column 9 is not reachable after line 3039, column 9. 1. MEMORY_LEAK - At [src/ike.c(2519,9)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ike.c#L2519) - memory dynamically allocated by call to `ike_attribute_init()` at line 2519, column 9 is not reachable after line 2519, column 9. 1. MEMORY_LEAK - At [src/ike.c(2574,9)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ike.c#L2574) - memory dynamically allocated by call to `ike_attribute_init()` at line 2574, column 9 is not reachable after line 2574, column 9. 1. MEMORY_LEAK - At [src/ipfix.c(3433,9)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ipfix.c#L3433) - memory dynamically allocated by call to `ipfix_exp_template_malloc()` at line 3427, column 16 is not reachable after line 3433, column 9. 1. MEMORY_LEAK - At [src/ipfix.c(3380,9)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ipfix.c#L3380) - memory dynamically allocated by call to `ipfix_exp_template_malloc()` at line 3374, column 16 is not reachable after line 3380, column 9. 1. MEMORY_LEAK - At [src/joy_api.c(2112,9)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/joy_api.c#L2112) - `next_rec` is not reachable after line 2112, column 9. 1. MEMORY_LEAK - At [src/joy_api_test2.c(89,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/joy_api_test2.c#L89) - memory dynamically allocated by call to `joy_process_packet()` at line 89, column 5 is not reachable after line 89, column 5. 1. MEMORY_LEAK - At [src/tls.c(1181,13)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/tls.c#L1181) - memory dynamically allocated by call to `tls_x509_get_serial()` at line 1175, column 13 is not reachable after line 1181, column 13. 1. MEMORY_LEAK - At [src/tls.c(3083,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/tls.c#L3083) - memory dynamically allocated to `record` by call to `tls_init()` at line 2942, column 5 is not reachable after line 3083, column 5. 1. MEMORY_LEAK - At [src/tls.c(3193,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/tls.c#L3193) - memory dynamically allocated to `record` by call to `tls_init()` at line 3098, column 5 is not reachable after line 3193, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(2343,9)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ike.c#L2343) - pointer `s->data` last assigned on line 2327 could be null and is dereferenced by call to `vector_set()` at line 2343, column 9. 1. NULL_DEREFERENCE - At [src/ike.c(3697,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ike.c#L3697) - pointer `s->data` last assigned on line 3696 could be null and is dereferenced by call to `vector_set()` at line 3697, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3498,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ike.c#L3498) - pointer `s->data` last assigned on line 3497 could be null and is dereferenced by call to `vector_set()` at line 3498, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3597,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ike.c#L3597) - pointer `s->data` last assigned on line 3596 could be null and is dereferenced by call to `vector_set()` at line 3597, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3776,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ike.c#L3776) - pointer `s->data` last assigned on line 3775 could be null and is dereferenced by call to `vector_set()` at line 3776, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3399,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ike.c#L3399) - pointer `s->data` last assigned on line 3398 could be null and is dereferenced by call to `vector_set()` at line 3399, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3249,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ike.c#L3249) - pointer `s->data` last assigned on line 3248 could be null and is dereferenced by call to `vector_set()` at line 3249, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3270,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ike.c#L3270) - pointer `s->data` last assigned on line 3269 could be null and is dereferenced by call to `vector_set()` at line 3270, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(4105,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ike.c#L4105) - pointer `s->data` last assigned on line 4104 could be null and is dereferenced by call to `vector_set()` at line 4105, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3980,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ike.c#L3980) - pointer `s->spi` last assigned on line 3979 could be null and is dereferenced by call to `vector_set()` at line 3980, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(4021,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ike.c#L4021) - pointer `s->spi` last assigned on line 4020 could be null and is dereferenced by call to `vector_set()` at line 4021, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(2770,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ike.c#L2770) - pointer `s->spi` last assigned on line 2769 could be null and is dereferenced by call to `vector_set()` at line 2770, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(2841,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ike.c#L2841) - pointer `s->spi` last assigned on line 2840 could be null and is dereferenced by call to `vector_set()` at line 2841, column 5. 1. NULL_DEREFERENCE - At [src/ike.c(3094,13)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ike.c#L3094) - pointer `s->secrecy_level_v1` last assigned on line 3093 could be null and is dereferenced by call to `vector_set()` at line 3094, column 13. 1. NULL_DEREFERENCE - At [src/ike.c(4211,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ike.c#L4211) - pointer `s->data` last assigned on line 4210 could be null and is dereferenced by call to `vector_set()` at line 4211, column 5. 1. NULL_DEREFERENCE - At [src/ipfix.c(4118,48)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ipfix.c#L4118) - pointer `template` last assigned on line 4105 could be null and is dereferenced at line 4118, column 48. 1. NULL_DEREFERENCE - At [src/joy_api.c(351,14)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/joy_api.c#L351) - pointer `t` last assigned on line 347 could be null and is dereferenced at line 351, column 14. 1. NULL_DEREFERENCE - At [src/joy_api_test2.c(96,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/joy_api_test2.c#L96) - pointer `null` could be null and is dereferenced by call to `joy_process_packet()` at line 96, column 5. 1. NULL_DEREFERENCE - At [src/parson.c(1488,21)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/parson.c#L1488) - pointer `temp_object_copy->names` last assigned on line 1475 could be null and is dereferenced by call to `json_object_add()` at line 1488, column 21. 1. NULL_DEREFERENCE - At [src/radix_trie.c(812,21)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/radix_trie.c#L812) - pointer `rt` last assigned on line 805 could be null and is dereferenced by call to `radix_trie_add_attr_label()` at line 812, column 21. 1. NULL_DEREFERENCE - At [src/ssh.c(766,76)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ssh.c#L766) - pointer `*ssh_handle->buffer` last assigned on line 766 could be null and is dereferenced by call to `vector_init()` at line 766, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(773,76)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ssh.c#L773) - pointer `*ssh_handle->c_comp_algos` last assigned on line 773 could be null and is dereferenced by call to `vector_init()` at line 773, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(769,76)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ssh.c#L769) - pointer `*ssh_handle->c_encryption_algos` last assigned on line 769 could be null and is dereferenced by call to `vector_init()` at line 769, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(779,76)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ssh.c#L779) - pointer `*ssh_handle->c_kex` last assigned on line 779 could be null and is dereferenced by call to `vector_init()` at line 779, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(775,76)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ssh.c#L775) - pointer `*ssh_handle->c_languages` last assigned on line 775 could be null and is dereferenced by call to `vector_init()` at line 775, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(771,76)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ssh.c#L771) - pointer `*ssh_handle->c_mac_algos` last assigned on line 771 could be null and is dereferenced by call to `vector_init()` at line 771, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(767,76)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ssh.c#L767) - pointer `*ssh_handle->kex_algos` last assigned on line 767 could be null and is dereferenced by call to `vector_init()` at line 767, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(786,76)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ssh.c#L786) - pointer `*ssh_handle->kex_msgs[i].data` last assigned on line 786 could be null and is dereferenced by call to `vector_init()` at line 786, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(774,76)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ssh.c#L774) - pointer `*ssh_handle->s_comp_algos` last assigned on line 774 could be null and is dereferenced by call to `vector_init()` at line 774, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(770,76)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ssh.c#L770) - pointer `*ssh_handle->s_encryption_algos` last assigned on line 770 could be null and is dereferenced by call to `vector_init()` at line 770, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(784,76)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ssh.c#L784) - pointer `*ssh_handle->s_gex_g` last assigned on line 784 could be null and is dereferenced by call to `vector_init()` at line 784, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(783,76)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ssh.c#L783) - pointer `*ssh_handle->s_gex_p` last assigned on line 783 could be null and is dereferenced by call to `vector_init()` at line 783, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(768,76)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ssh.c#L768) - pointer `*ssh_handle->s_host_key_algos` last assigned on line 768 could be null and is dereferenced by call to `vector_init()` at line 768, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(777,76)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ssh.c#L777) - pointer `*ssh_handle->s_hostkey_type` last assigned on line 777 could be null and is dereferenced by call to `vector_init()` at line 777, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(781,76)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ssh.c#L781) - pointer `*ssh_handle->s_hostkey` last assigned on line 781 could be null and is dereferenced by call to `vector_init()` at line 781, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(780,76)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ssh.c#L780) - pointer `*ssh_handle->s_kex` last assigned on line 780 could be null and is dereferenced by call to `vector_init()` at line 780, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(776,76)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ssh.c#L776) - pointer `*ssh_handle->s_languages` last assigned on line 776 could be null and is dereferenced by call to `vector_init()` at line 776, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(772,76)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ssh.c#L772) - pointer `*ssh_handle->s_mac_algos` last assigned on line 772 could be null and is dereferenced by call to `vector_init()` at line 772, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(778,76)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ssh.c#L778) - pointer `*ssh_handle->s_signature_type` last assigned on line 778 could be null and is dereferenced by call to `vector_init()` at line 778, column 76. 1. NULL_DEREFERENCE - At [src/ssh.c(782,76)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ssh.c#L782) - pointer `*ssh_handle->s_signature` last assigned on line 782 could be null and is dereferenced by call to `vector_init()` at line 782, column 76. 1. NULL_DEREFERENCE - At [src/tls.c(2397,9)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/tls.c#L2397) - pointer `tmp_tls_record` last assigned on line 2395 could be null and is dereferenced at line 2397, column 9. 1. NULL_DEREFERENCE - At [src/tls.c(2954,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/tls.c#L2954) - pointer `record` last assigned on line 2942 could be null and is dereferenced by call to `tls_handshake_hello_get_version()` at line 2954, column 5. 1. NULL_DEREFERENCE - At [src/tls.c(3110,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/tls.c#L3110) - pointer `record` last assigned on line 3098 could be null and is dereferenced by call to `tls_handshake_hello_get_version()` at line 3110, column 5. 1. NULL_DEREFERENCE - At [src/tls.c(3252,5)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/tls.c#L3252) - pointer `record` last assigned on line 3250 could be null and is dereferenced by call to `tls_handshake_hello_get_version()` at line 3252, column 5. 1. RESOURCE_LEAK - At [src/config.c(409,21)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/config.c#L409) - resource of type `_IO_FILE` acquired by call to `open_config_file()` at line 392, column 9 is not released after line 409, column 21. 1. UNINITIALIZED_VALUE - At [src/ppi.c(307,9)](https://github.com/cisco/joy/blob/30664f01b08017e786faa761aa7d5ee6be930ded/src/ppi.c#L307) - The value read from optlen was never initialized.
sonatype-lift[bot] commented 5 years ago

Muse Analysis Complete

Analysis tools: [ Infer ] run on commits [ 30664f01 .. 16351755 ]