[OpenSIPS-Devel] [OpenSIPS/opensips] c537cb: fixing coverity found defects - invalid memory acc...

Liviu Chircu liviu at opensips.org
Thu Jan 14 17:57:34 CET 2016


  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c537cb8151e9436d88a9410e02ef11a093008ff0
      https://github.com/OpenSIPS/opensips/commit/c537cb8151e9436d88a9410e02ef11a093008ff0
  Author: Dusan Klinec <dusan.klinec at gmail.com>
  Date:   2015-12-05 (Sat, 05 Dec 2015)

  Changed paths:
    M flags.c
    M ip_addr.h
    M modules/acc/acc.c
    M modules/call_center/call_center.c
    M modules/dialog/dlg_tophiding.c
    M modules/mi_datagram/datagram_fnc.c
    M modules/mi_xmlrpc/xr_parser.c
    M modules/presence/presentity.c
    M modules/tm/t_reply.c

  Log Message:
  -----------
  fixing coverity found defects - invalid memory access / memory corruptions


  Commit: e09f09ae89aff31393b04e40b4f82632fd4f50ff
      https://github.com/OpenSIPS/opensips/commit/e09f09ae89aff31393b04e40b4f82632fd4f50ff
  Author: Dusan Klinec <dusan.klinec at gmail.com>
  Date:   2015-12-05 (Sat, 05 Dec 2015)

  Changed paths:
    M daemonize.c
    M modules/db_text/dbt_file.c
    M modules/mi_fifo/fifo_fnc.c

  Log Message:
  -----------
  fixing coverity found defects - resource leakage


  Commit: b22844e0a1d4d54d0f8f836837f8447154799011
      https://github.com/OpenSIPS/opensips/commit/b22844e0a1d4d54d0f8f836837f8447154799011
  Author: Dusan Klinec <dusan.klinec at gmail.com>
  Date:   2015-12-05 (Sat, 05 Dec 2015)

  Changed paths:
    M modules/auth/challenge.c
    M modules/drouting/drouting.c
    M modules/pua/send_subscribe.c
    M modules/uac/uac.c
    M modules/usrloc/ucontact.c
    M proxy.c
    M rw_locking.h

  Log Message:
  -----------
  fixing coverity found defects - processing initialized variables, control flow, invalid expressions


  Commit: aeedb7d94439b774d35009899b04d2c6060437d0
      https://github.com/OpenSIPS/opensips/commit/aeedb7d94439b774d35009899b04d2c6060437d0
  Author: Dusan Klinec <dusan.klinec at gmail.com>
  Date:   2015-12-05 (Sat, 05 Dec 2015)

  Changed paths:
    M modules/dispatcher/dispatcher.c
    M modules/usrloc/ul_callback.h

  Log Message:
  -----------
  fixing coverity found defects - logical fix in ul callback check type, null dereference


  Commit: c004967f7c272e5b9043f5f3e330827f0682a009
      https://github.com/OpenSIPS/opensips/commit/c004967f7c272e5b9043f5f3e330827f0682a009
  Author: Dusan Klinec <dusan.klinec at gmail.com>
  Date:   2015-12-05 (Sat, 05 Dec 2015)

  Changed paths:
    M db/db.c
    M evi/event_interface.c
    M main.c
    M modules/alias_db/alookup.c
    M modules/usrloc/dlist.c

  Log Message:
  -----------
  fixing coverity found defects - null dereference, break missing


  Commit: b8e2318ba58e56484294913e21a74a7cd79adf40
      https://github.com/OpenSIPS/opensips/commit/b8e2318ba58e56484294913e21a74a7cd79adf40
  Author: Dusan Klinec <dusan.klinec at gmail.com>
  Date:   2015-12-05 (Sat, 05 Dec 2015)

  Changed paths:
    M modules/rtpproxy/rtpproxy.c
    M modules/uri/checks.c

  Log Message:
  -----------
  fixing coverity found defects - null dereference, invalid e164 number check


  Commit: ef3d3de7d0607126fd8f149aa4c19ca3e05bb7a9
      https://github.com/OpenSIPS/opensips/commit/ef3d3de7d0607126fd8f149aa4c19ca3e05bb7a9
  Author: Dusan Klinec <dusan.klinec at gmail.com>
  Date:   2015-12-06 (Sun, 06 Dec 2015)

  Changed paths:
    M modules/dispatcher/dispatcher.c

  Log Message:
  -----------
  fixing coverity found defects - null dereference in dispatcher


  Commit: 92a7361eda2c6cd6e9ad637dab187cf87fefa987
      https://github.com/OpenSIPS/opensips/commit/92a7361eda2c6cd6e9ad637dab187cf87fefa987
  Author: Dusan Klinec <dusan.klinec at gmail.com>
  Date:   2015-12-06 (Sun, 06 Dec 2015)

  Changed paths:
    M modules/ldap/iniparser.c
    M modules/siptrace/siptrace.c

  Log Message:
  -----------
  fixing coverity found defects - copying into fixed size buffer


  Commit: d471234733de299c88f1036ba17a2406b8ae7a89
      https://github.com/OpenSIPS/opensips/commit/d471234733de299c88f1036ba17a2406b8ae7a89
  Author: Dusan Klinec <dusan.klinec at gmail.com>
  Date:   2015-12-06 (Sun, 06 Dec 2015)

  Changed paths:
    M modules/db_http/http_dbase.c

  Log Message:
  -----------
  fixing coverity found defects - copying into fixed size buffer without check, db_http


  Commit: b578dda307f24e56f456e5b02c0c7591ed6746a4
      https://github.com/OpenSIPS/opensips/commit/b578dda307f24e56f456e5b02c0c7591ed6746a4
  Author: Dusan Klinec <dusan.klinec at gmail.com>
  Date:   2015-12-06 (Sun, 06 Dec 2015)

  Changed paths:
    M blacklists.c
    M modules/drouting/drouting.c
    M modules/sipcapture/sipcapture.c
    M modules/siptrace/siptrace.c
    M resolve.h
    M statistics.c

  Log Message:
  -----------
  fixing coverity found defects - null dereference


  Commit: 906bb9172b4ce0ab0e7bf4eca7da58211aa8ac5b
      https://github.com/OpenSIPS/opensips/commit/906bb9172b4ce0ab0e7bf4eca7da58211aa8ac5b
  Author: Dusan Klinec <dusan.klinec at gmail.com>
  Date:   2015-12-06 (Sun, 06 Dec 2015)

  Changed paths:
    M cachedb/cachedb_id.c
    M db/db_query.c
    M modules/cachedb_local/cachedb_local.c
    M modules/cachedb_sql/cachedb_sql.c
    M modules/db_postgres/dbase.c
    M modules/dialog/dlg_profile.c
    M modules/httpd/httpd_proc.c
    M modules/load_balancer/lb_db.c
    M modules/permissions/hash.c
    M modules/presence/notify.c
    M modules/registrar/lookup.c
    M parser/sdp/sdp.c

  Log Message:
  -----------
  fixing coverity found defects - null dereference


  Commit: 81aeba42ca04df7b3fc42ab2498717cc31227967
      https://github.com/OpenSIPS/opensips/commit/81aeba42ca04df7b3fc42ab2498717cc31227967
  Author: Dusan Klinec <dusan.klinec at gmail.com>
  Date:   2015-12-06 (Sun, 06 Dec 2015)

  Changed paths:
    M modules/db_postgres/val.c
    M parser/parse_uri.c

  Log Message:
  -----------
  fixing coverity found defects - null dereference & broken logic


  Commit: fd57609f5411e622dca593b729e1826269243c5b
      https://github.com/OpenSIPS/opensips/commit/fd57609f5411e622dca593b729e1826269243c5b
  Author: Dusan Klinec <dusan.klinec at gmail.com>
  Date:   2015-12-06 (Sun, 06 Dec 2015)

  Changed paths:
    M modules/enum/enum.c
    M modules/permissions/rule.c

  Log Message:
  -----------
  fixing coverity found defects - memory corruption, null dereference


  Commit: 4594e82dd7e11b9139fe2950246b7ce61c78d0c9
      https://github.com/OpenSIPS/opensips/commit/4594e82dd7e11b9139fe2950246b7ce61c78d0c9
  Author: Dusan Klinec <dusan.klinec at gmail.com>
  Date:   2015-12-06 (Sun, 06 Dec 2015)

  Changed paths:
    M resolve.c
    M resolve.h

  Log Message:
  -----------
  fixing coverity found defects - null dereference


  Commit: 92c69284aa1edf084ef91930f976627578d65323
      https://github.com/OpenSIPS/opensips/commit/92c69284aa1edf084ef91930f976627578d65323
  Author: Dusan Klinec <dusan.klinec at gmail.com>
  Date:   2016-01-14 (Thu, 14 Jan 2016)

  Changed paths:
    M modules/ldap/iniparser.c
    M modules/siptrace/siptrace.c

  Log Message:
  -----------
  Fixing non-null terminated string bug, found by @liviuchircu


  Commit: 92f32a2aa4f0291af28af94c9de25132d0f66d7a
      https://github.com/OpenSIPS/opensips/commit/92f32a2aa4f0291af28af94c9de25132d0f66d7a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2016-01-14 (Thu, 14 Jan 2016)

  Changed paths:
    M blacklists.c
    M cachedb/cachedb_id.c
    M daemonize.c
    M db/db.c
    M db/db_query.c
    M evi/event_interface.c
    M flags.c
    M ip_addr.h
    M main.c
    M modules/acc/acc.c
    M modules/alias_db/alookup.c
    M modules/auth/challenge.c
    M modules/cachedb_local/cachedb_local.c
    M modules/cachedb_sql/cachedb_sql.c
    M modules/call_center/call_center.c
    M modules/db_http/http_dbase.c
    M modules/db_postgres/dbase.c
    M modules/db_postgres/val.c
    M modules/db_text/dbt_file.c
    M modules/dialog/dlg_profile.c
    M modules/dialog/dlg_tophiding.c
    M modules/dispatcher/dispatcher.c
    M modules/drouting/drouting.c
    M modules/enum/enum.c
    M modules/httpd/httpd_proc.c
    M modules/ldap/iniparser.c
    M modules/load_balancer/lb_db.c
    M modules/mi_datagram/datagram_fnc.c
    M modules/mi_fifo/fifo_fnc.c
    M modules/mi_xmlrpc/xr_parser.c
    M modules/permissions/hash.c
    M modules/permissions/rule.c
    M modules/presence/notify.c
    M modules/presence/presentity.c
    M modules/pua/send_subscribe.c
    M modules/registrar/lookup.c
    M modules/rtpproxy/rtpproxy.c
    M modules/sipcapture/sipcapture.c
    M modules/siptrace/siptrace.c
    M modules/tm/t_reply.c
    M modules/uac/uac.c
    M modules/uri/checks.c
    M modules/usrloc/dlist.c
    M modules/usrloc/ucontact.c
    M modules/usrloc/ul_callback.h
    M parser/parse_uri.c
    M parser/sdp/sdp.c
    M proxy.c
    M resolve.c
    M resolve.h
    M rw_locking.h
    M statistics.c

  Log Message:
  -----------
  Merge branch 'coverity_scan_1_11_merge' of https://github.com/ph4r05/opensips into ph4r05-coverity_scan_1_11_merge


  Commit: 975024142e724b315203dd14c58056a77f3d3959
      https://github.com/OpenSIPS/opensips/commit/975024142e724b315203dd14c58056a77f3d3959
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2016-01-14 (Thu, 14 Jan 2016)

  Changed paths:
    M evi/event_interface.c
    M modules/ldap/iniparser.c
    M modules/usrloc/dlist.c

  Log Message:
  -----------
  Coverity PR: minor refactorings


Compare: https://github.com/OpenSIPS/opensips/compare/e4965d926bce...975024142e72


More information about the Devel mailing list