[OpenSIPS-Devel] [OpenSIPS/opensips] 417dd0: dialog: fix coverity CID #40494

Liviu Chircu noreply at github.com
Fri Jul 10 08:02:29 EST 2020


  Branch: refs/heads/coverity_scan
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 417dd0530e889c21df61e0a81ef71c6a6666adde
      https://github.com/OpenSIPS/opensips/commit/417dd0530e889c21df61e0a81ef71c6a6666adde
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-07-10 (Fri, 10 Jul 2020)

  Changed paths:
    M modules/dialog/dialog.c

  Log Message:
  -----------
  dialog: fix coverity CID #40494


  Commit: d8fb663c09dc4c5dcc6846e1cef446349cb4caa4
      https://github.com/OpenSIPS/opensips/commit/d8fb663c09dc4c5dcc6846e1cef446349cb4caa4
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-07-10 (Fri, 10 Jul 2020)

  Changed paths:
    M modules/dialog/dlg_db_handler.c

  Log Message:
  -----------
  dialog: use correct dialog for sync (fix CID #40673)


  Commit: de705ca8c6b8abcbf68b08241fe60b9ba2372d39
      https://github.com/OpenSIPS/opensips/commit/de705ca8c6b8abcbf68b08241fe60b9ba2372d39
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-07-10 (Fri, 10 Jul 2020)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  travis: add clang in compiler's list


  Commit: aa08fe6e23bb67362cd832d7add85489fc3a24d8
      https://github.com/OpenSIPS/opensips/commit/aa08fe6e23bb67362cd832d7add85489fc3a24d8
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-07-10 (Fri, 10 Jul 2020)

  Changed paths:
    M evi/evi_params.h
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  rework some annotations to make coverity happy


  Commit: a6b01daf6dba4c74800c72d3b6067290266e2bae
      https://github.com/OpenSIPS/opensips/commit/a6b01daf6dba4c74800c72d3b6067290266e2bae
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-07-10 (Fri, 10 Jul 2020)

  Changed paths:
    M modules/usrloc/ucontact.c

  Log Message:
  -----------
  usrloc: Remove unnecessary NULL check

CID #200086


  Commit: e0bf6885c39d243ad35e0f9afb405df5379f3e12
      https://github.com/OpenSIPS/opensips/commit/e0bf6885c39d243ad35e0f9afb405df5379f3e12
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-07-10 (Fri, 10 Jul 2020)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Add paranoid safety check

This extra check doesn't fix anything right now, but at least it makes
Coverity happy.

CID #200020


  Commit: ac1ccf12cff44ed2805fc03d297703c180782d59
      https://github.com/OpenSIPS/opensips/commit/ac1ccf12cff44ed2805fc03d297703c180782d59
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-07-10 (Fri, 10 Jul 2020)

  Changed paths:
    M modules/db_mysql/Makefile
    M modules/db_mysql/db_mysql.c
    A modules/db_mysql/ssl_tweaks.c

  Log Message:
  -----------
  db_mysql: fix crashes when loading module along with tls_mgm


  Commit: 02cf4387eb03cff729cad5e076b938fcdc7995e3
      https://github.com/OpenSIPS/opensips/commit/02cf4387eb03cff729cad5e076b938fcdc7995e3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-07-10 (Fri, 10 Jul 2020)

  Changed paths:
    M net/net_tcp.c
    M sr_module.c

  Log Message:
  -----------
  mpath: Fix possible buffer underrun

Also attempt to mask the false positive in CID #200070.

CID #211377


  Commit: 2b25e1db65584c0d67bfecf56adb743b0011f9a2
      https://github.com/OpenSIPS/opensips/commit/2b25e1db65584c0d67bfecf56adb743b0011f9a2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-07-10 (Fri, 10 Jul 2020)

  Changed paths:
    M modules/drouting/routing.c

  Log Message:
  -----------
  drouting: Always NULL-terminate the GW buffer

While this doesn't immediately fix any bug, it should make Coverity
happy.

CID #200062


  Commit: 6c98d6c4fd16b45defe33e88b98b8c6096eee9a2
      https://github.com/OpenSIPS/opensips/commit/6c98d6c4fd16b45defe33e88b98b8c6096eee9a2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-07-10 (Fri, 10 Jul 2020)

  Changed paths:
    M modules/exec/exec.c

  Log Message:
  -----------
  exec: Always NULL-terminate the read buffer

CID #200052


Compare: https://github.com/OpenSIPS/opensips/compare/feb0f736101e...6c98d6c4fd16



More information about the Devel mailing list