Commit Graph

7987 Commits

Author SHA1 Message Date
Andrey Volk 72869f13f6 [sofia-sip] Fix out-of-bounds write in sres_sofia_update(). 2020-02-25 02:09:27 +04:00
Andrey Volk 5e5fd214b5 [iksemel, libdingaling] scan-build: fix multiple dead assignments and dereference of null pointer 2020-02-22 01:48:43 +04:00
Andrey Volk 5082454c45 [mod_dingaling] scan-build: fix multiple dead assignments and dereference of null pointer. 2020-02-22 00:46:10 +04:00
Andrey Volk 30e5cc314a [apr-util] scan-build: Fix "Assigned value is garbage or undefined" in unknown_toUtf8 2020-02-21 21:28:41 +04:00
Andrey Volk e39eb28629 [apr] scan-build: fix dereference of null pointer in apr_hash_merge() and apr_proc_other_child_unregister() 2020-02-20 23:20:53 +04:00
Andrey Volk d3c4cf3d62
Merge pull request #396 from signalwire/nta_weight
[sofia-sip] scan-build: Fix "Dereference of null pointer" in outgoing_answer_srv().
2020-02-20 23:04:25 +04:00
Andrey Volk 8dd1e1be23 [spandsp] scan-build: Fix "Result of operation is garbage or undefined" in rpe_grid_selection() 2020-02-20 22:53:34 +04:00
Andrey Volk 3a3f7957aa [sofia-sip] scan-build: Fix "Dereference of null pointer" in outgoing_answer_srv(). 2020-02-20 22:44:51 +04:00
Andrey Volk d438e1e547 [sofia-sip] Fix Out-of-bound array access warning: String copy function overflows destination buffer in nua_stack_event() 2020-02-20 20:13:07 +04:00
Andrey Volk 7b708c2c77
Merge pull request #394 from signalwire/sres
[sofia-sip] Guard `if` in sres_record_compare() and fix braces in sres_resolver_receive().
2020-02-20 20:08:07 +04:00
Andrey Volk 022efe3388 [sofia-sip] Guard `if` in sres_record_compare() and fix braces in sres_resolver_receive(). 2020-02-20 19:49:56 +04:00
Dragos Oancea 1d3fcd6864 [spandsp] scan-build: Array subscript is undefined - test_cadence() 2020-02-20 09:57:12 +00:00
Andrey Volk 6318798f54 [sofia-sip] scan-build: Fix dereference of null pointer in outgoing_query_results(). 2020-02-20 02:54:13 +04:00
Andrey Volk 27e4a872c5 [sofia-sip] scan-build: Fix "Result of operation is garbage or undefined" in sres_log_response() 2020-02-20 01:47:54 +04:00
Andrey Volk 05377622af [apr] scan-build: Fix "Argument with 'nonnull' attribute passed null" in file_io/unix/filepath.c 2020-02-20 00:16:37 +04:00
Andrey Volk 148e02bc67 [srtp] scan-build: Fix dead assignments. 2020-02-19 21:14:02 +04:00
Andrey Volk 23fc0a5f76
Merge pull request #375 from signalwire/vpx_dereference
[libvpx] scan-build: Fix "Dereference of null pointer" in vp8_peek_si_internal
2020-02-19 20:06:04 +04:00
Andrey Volk 3a7d96f04b [apr] Fix potential dereference of a null pointer when apr_pool_create_ex() is called without both an allocator and a parent while global_pool is uninitialized. 2020-02-19 14:38:56 +04:00
Dragos Oancea 0cb4e193f6 [core] scan-build: Function call argument is an uninitialized value - sig_tone_rx() 2020-02-17 21:39:44 +00:00
Andrey Volk a2f544cf7f [sofia-sip] scan-build: Fix "The left operand of '<' is a garbage value" (prefs) in outgoing_naptr_tport() of nta.c 2020-02-17 14:36:48 +04:00
Andrey Volk 4b971dff75 [libvpx] scan-build: Fix "Dereference of null pointer" in vp8_peek_si_internal 2020-02-17 00:50:54 +04:00
Andrey Volk f56d5d56ef [sofia-sip] scan-build: Fix "Called function pointer is null (null dereference)" in t_filter() of su_taglist.c 2020-02-16 04:06:37 +04:00
Andrey Volk ebab867710 [libnatpmp] scan-build: The left operand of '!=' is a garbage value 2020-02-15 23:51:29 +04:00
Andrey Volk fba60251a2 [apr] Fix typo in network_io/unix/sendrecv.c made by previous commit 2020-02-15 13:27:41 +04:00
Andrey Volk df52479eb4 [apr] scan-build: Fix dereference of a null pointer and unused variable in network_io/unix 2020-02-15 03:49:05 +04:00
Andrey Volk 5b63e4d045 [apr] Fix dead assignment and use of uninitialized variable in strings. 2020-02-15 02:22:36 +04:00
Andrey Volk 2db40835c5 [apr] scan-build: fix use of unassigned values in file_io/unix 2020-02-15 01:33:50 +04:00
Andrey Volk 944041fb46
Merge pull request #359 from signalwire/apr_util
[apr-util] Fix issues reported by scan-build.
2020-02-14 18:56:50 +04:00
Andrey Volk a7cdf35b60 [apr-util] Fix issues reported by scan-build. 2020-02-14 18:39:15 +04:00
Andrey Volk 19aabde9c5 [apr] Scan-build: Fix multiple dead assignments in sha2.c 2020-02-14 02:51:32 +04:00
Andrey Volk 25fc9fc6dc
Merge pull request #352 from signalwire/sofia_scanbuild
[sofia-sip] Fix multiple issues reported by scan-build.
2020-02-14 01:29:16 +04:00
Andrey Volk 8044d5a6e3
Merge pull request #349 from dragos-oancea/spandsp-at-nullptr
[spandsp] scan-build: Dereference of null pointer - at_put_response()
2020-02-14 01:08:40 +04:00
Dragos Oancea d1f751eb8e [spandsp] scan-build: Dereference of null pointer - at_put_response() 2020-02-13 20:57:39 +00:00
Andrey Volk 06aad5f558
Merge pull request #348 from dragos-oancea/spandsp-t4_tx-res--val-never-read
[spandsp] scan-build: Value stored to 'res' is never read - t4_tx_set_tx_image_format()
2020-02-14 00:27:20 +04:00
Andrey Volk 068f4c8524 [sofia-sip] Fix multiple issues reported by scan-build. 2020-02-13 21:11:18 +04:00
Andrey Volk fe65102738 [sofia-sip] Fix sdp_session_cmp(), add test. Scan-build: Fix multiple dereferences of null pointer. 2020-02-13 02:52:09 +04:00
Dragos Oancea e9afc81cb1 [spandsp] scan-build: Value stored to 'res' is never read - t4_tx_set_tx_image_format() 2020-02-12 22:14:12 +00:00
Andrey Volk fd4f181519
Merge pull request #340 from dragos-oancea/spandsp-super_tone_rx-undefined
[spandsp] scan-build: The left operand of '>' is a garbage value - super_tone_chunk()
2020-02-12 22:58:19 +04:00
Andrey Volk 75904672fb
Merge pull request #333 from dragos-oancea/sofia-sip_extra-val_never_read
[sofia-sip] scan-build: Value stored to 'ci' during its initialization is never read - sip_info_d()
2020-02-12 22:46:39 +04:00
Andrey Volk 801cb5813f
Merge pull request #332 from dragos-oancea/sofia-tport-null-ptr
[sofia-sip] scan-build: Access to field 'ai_addr' results in a dereference of a null pointer (loaded from variable 'res')
2020-02-12 22:42:46 +04:00
Andrey Volk 7e205a4a40
Merge pull request #331 from dragos-oancea/sofia-sdp_zone-cmp-val-never-read
[sofia-sip] scan-build: Access to field 'z_number_of_adjustments' results in a dereference of a null pointer (loaded from variable 'a')
2020-02-12 22:38:51 +04:00
Andrey Volk adc637fda2
Merge pull request #326 from dragos-oancea/sofia-nua_session-val-never-read
[sofia-sip] scan-build: Value stored to 'invite_timeout' is never read - nua_invite_client_request()
2020-02-12 22:32:31 +04:00
Andrey Volk 4581d7bf13
Merge pull request #330 from dragos-oancea/sofia-sdp_val-never-read--
[sofia-sip] scan-build: Access to field 'c_nettype' results in a dereference of a null pointer (loaded from variable 'a')
2020-02-12 22:23:16 +04:00
Andrey Volk 989e7964c3
Merge pull request #329 from dragos-oancea/sofia-nta-now_val-never-read
[sofia-sip] scan-build: Value stored to 'now' during its initialization is never read - _nta_incoming_timer()
2020-02-12 22:15:51 +04:00
Andrey Volk 92a87119bc
Merge pull request #328 from dragos-oancea/sofia-nua_register-val-never_read-
[sofia-sip] scan-build: Value stored to 's' during its initialization is never read - nua_handle_contact_by_via()
2020-02-12 22:11:25 +04:00
Andrey Volk d791dbb376
Merge pull request #327 from dragos-oancea/sofia-iptsec-val-never-read
[sofia-sip] scan-build: Value stored to 'phrase' is never read - auth_check_digest()
2020-02-12 22:08:52 +04:00
Dragos Oancea f72d755487 [sofia-sip] scan-build: Value stored to 'invite_timeout' is never read - nua_invite_client_request() 2020-02-12 17:57:40 +00:00
Dragos Oancea 2b6b925ea6 [spandsp] scan-build: The left operand of '>' is a garbage value - super_tone_chunk() 2020-02-12 10:30:20 +00:00
Dragos Oancea c1adea0f49 [sofia-sip] scan-build: Value stored to 'ci' during its initialization is never read - sip_info_d() 2020-02-12 01:49:43 +00:00
Dragos Oancea 356a403a17 [sofia-sip] scan-build: Access to field 'ai_addr' results in a dereference of a null pointer (loaded from variable 'res') 2020-02-12 01:39:18 +00:00