[OpenSIPS-Devel] [OpenSIPS/opensips] 64128b: b2b_logic: properly check functions' return code

Razvan Crainea razvan at opensips.org
Fri Nov 11 09:07:20 CET 2016


  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 64128b86b4473b9d00e4bee3bea8156f0ba325ee
      https://github.com/OpenSIPS/opensips/commit/64128b86b4473b9d00e4bee3bea8156f0ba325ee
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2016-11-10 (Thu, 10 Nov 2016)

  Changed paths:
    M modules/b2b_logic/logic.c

  Log Message:
  -----------
  b2b_logic: properly check functions' return code

Fixes Coverity CID 40483 40484

(cherry picked from commit d12d3795e884c87c1225be3c96f959dd79763806)


  Commit: 431be2c3c4b35c3153c11f7f2442fa78c9e2172a
      https://github.com/OpenSIPS/opensips/commit/431be2c3c4b35c3153c11f7f2442fa78c9e2172a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2016-11-10 (Thu, 10 Nov 2016)

  Changed paths:
    M modules/json/json.c

  Log Message:
  -----------
  json.c: properly check the pv_parse_spec() return

Fixes Coverity CID 40485

(cherry picked from commit b5c02f16645ab48a8910c148ce596d46d2f1b285)


  Commit: 93fd2b04650aae2dab4b77ba8e89318a2321bcce
      https://github.com/OpenSIPS/opensips/commit/93fd2b04650aae2dab4b77ba8e89318a2321bcce
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2016-11-10 (Thu, 10 Nov 2016)

  Changed paths:
    M modules/b2b_entities/dlg.c
    M modules/b2b_logic/logic.c

  Log Message:
  -----------
  b2b: properly check return codes

Fixes Coverity CID 40486, 40487 and 40488

(cherry picked from commit d9967ca2abe54faf6426bb76c369ae6be10bb218)


  Commit: 65f5914f23c1faa2ca8c4bab3309875bf93c0797
      https://github.com/OpenSIPS/opensips/commit/65f5914f23c1faa2ca8c4bab3309875bf93c0797
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2016-11-10 (Thu, 10 Nov 2016)

  Changed paths:
    M modules/rls/subscribe.c

  Log Message:
  -----------
  rls: properly check parse_from_uri() return code

Fixes Coverity CID 40490

(cherry picked from commit b310986c6f0a2d76f2092433f06d8cb94e1f08fc)


  Commit: 3b92a2b97e0725b7862b13dd228287cd945a9c75
      https://github.com/OpenSIPS/opensips/commit/3b92a2b97e0725b7862b13dd228287cd945a9c75
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2016-11-10 (Thu, 10 Nov 2016)

  Changed paths:
    M modules/b2b_entities/client.c

  Log Message:
  -----------
  b2b_entities: properly check parse_methods() return

Fixes Coverity CID 40493

(cherry picked from commit 7b20690e133c0e90110b549d65ee6769b4ca64fa)


  Commit: ed0089cf343fe15b3e874312d5be75edd1a1e3ed
      https://github.com/OpenSIPS/opensips/commit/ed0089cf343fe15b3e874312d5be75edd1a1e3ed
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2016-11-10 (Thu, 10 Nov 2016)

  Changed paths:
    M modules/msilo/msfuncs.c

  Log Message:
  -----------
  msilo: replace strncpy with memcpy

This prevents a coverity warning about null terminated strings
Fixes Coverity CID 40507

(cherry picked from commit 1d698a9037346f7f03a77147a5008689998c8069)


  Commit: e3174f301b7c0fc9db8a79f0a1eeea1bf6c994c2
      https://github.com/OpenSIPS/opensips/commit/e3174f301b7c0fc9db8a79f0a1eeea1bf6c994c2
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2016-11-10 (Thu, 10 Nov 2016)

  Changed paths:
    M modules/carrierroute/route_config.c

  Log Message:
  -----------
  carrierroute: prevent ch truncate from fgetc()

Fixes Coverity CID 40507

(cherry picked from commit a5dccbbed4d95bd18e265f7dd0472375f344d78f)


Compare: https://github.com/OpenSIPS/opensips/compare/58ec669e28e8...e3174f301b7c


More information about the Devel mailing list