[OpenSIPS-Devel] [OpenSIPS/opensips] c46078: evi: annotate evi_param_set_int to fix Coverity

Răzvan Crainea noreply at github.com
Mon Jul 20 11:22:49 EST 2020


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c460787b63683feef3fc4830f9197178e3197e2b
      https://github.com/OpenSIPS/opensips/commit/c460787b63683feef3fc4830f9197178e3197e2b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M evi/evi_params.h

  Log Message:
  -----------
  evi: annotate evi_param_set_int to fix Coverity

Fixes several Coverity alarms


  Commit: 3b0cc6256e53824cf8791602ef9c18dc09b21a86
      https://github.com/OpenSIPS/opensips/commit/3b0cc6256e53824cf8791602ef9c18dc09b21a86
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M modules/db_text/dbt_file.c

  Log Message:
  -----------
  db_text: prevent buffer overflow

Fixes Coverity CID #200093


  Commit: 9588548c9adda8a300f2802b6343d1e1f9c9533b
      https://github.com/OpenSIPS/opensips/commit/9588548c9adda8a300f2802b6343d1e1f9c9533b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M modules/qos/qos_ctx_helpers.c

  Log Message:
  -----------
  qos: fix getting SDP


  Commit: 62919e2915c53406bcb8b6fb065abb2d7c362422
      https://github.com/OpenSIPS/opensips/commit/62919e2915c53406bcb8b6fb065abb2d7c362422
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M parser/parse_to.c

  Log Message:
  -----------
  parse_to: add fallthrough comments/indications for coverity CID #200094


  Commit: 5393102527d16801cc1f567c2a3e05636540819b
      https://github.com/OpenSIPS/opensips/commit/5393102527d16801cc1f567c2a3e05636540819b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M modules/tm/cluster.c

  Log Message:
  -----------
  tm: cleanup replicated cancel msg

Fixes Coverity CID #200031


  Commit: 39bfc307353498a543871db03ae4fa767d71852b
      https://github.com/OpenSIPS/opensips/commit/39bfc307353498a543871db03ae4fa767d71852b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M modules/db_text/dbt_file.c

  Log Message:
  -----------
  db_text: fix no-op code

fixes Coverity CID #200004


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

  Changed paths:
    M parser/sdp/sdp_helpr_funcs.c
    M xlog.c

  Log Message:
  -----------
  fix coverity detected false positives

CID #40557, #211391


  Commit: 9c7bed5bda37287ed923538fd5cbe83dd98aee0a
      https://github.com/OpenSIPS/opensips/commit/9c7bed5bda37287ed923538fd5cbe83dd98aee0a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M modules/proto_ws/proto_ws.c

  Log Message:
  -----------
  proto_ws: make sure we have destination to connect to

Fixes Coverity CID #58340


  Commit: 78f804e2857cd44e367c04c0cb0bf22c1560534e
      https://github.com/OpenSIPS/opensips/commit/78f804e2857cd44e367c04c0cb0bf22c1560534e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M modules/proto_hep/hep.c

  Log Message:
  -----------
  proto_hep: remove useless NULL check

Fixes Coverity CID #163991


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

  Changed paths:
    M modules/proto_wss/proto_wss.c

  Log Message:
  -----------
  proto_wss: add fall through indication

Fixes Coverity CID #58373


  Commit: 7c629860f7c2d305e27458c9f417f8f79773c9c9
      https://github.com/OpenSIPS/opensips/commit/7c629860f7c2d305e27458c9f417f8f79773c9c9
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M modules/proto_tls/proto_tls.c

  Log Message:
  -----------
  proto_tls: make sure we have destination to connect to

Fixes Coverity CID #58361


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

  Changed paths:
    M modules/db_text/dbt_file.c

  Log Message:
  -----------
  db_text: complete coverity CID #200093


  Commit: 34202913b1af2238ee83228da6fe041dac45147b
      https://github.com/OpenSIPS/opensips/commit/34202913b1af2238ee83228da6fe041dac45147b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M db/db_ut.c
    M db/db_ut.h
    M modules/db_berkeley/bdb_res.c
    M modules/db_berkeley/bdb_res.h
    M modules/db_berkeley/db_berkeley.c
    M modules/db_text/dbt_base.c
    M modules/db_text/dbt_lib.c
    M modules/db_text/dbt_lib.h
    M modules/db_text/dbt_res.c
    M modules/db_text/dbt_tb.c

  Log Message:
  -----------
  db: merge db_is_neq_type() in db_ut

Fix coverity CID #40717, #40718, #40719, #40720, #40721, #40722


  Commit: 377e526c146d0bf007dd1a14ff60e76a9a75f1f4
      https://github.com/OpenSIPS/opensips/commit/377e526c146d0bf007dd1a14ff60e76a9a75f1f4
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M modules/pua_xmpp/simple2xmpp.c

  Log Message:
  -----------
  pua_xmpp: release memory in case of error

Fixes Coverity CID #199967


Compare: https://github.com/OpenSIPS/opensips/compare/ad653180f211...377e526c146d



More information about the Devel mailing list