[OpenSIPS-Devel] [OpenSIPS/opensips] 8a6d45: osp: actually fix potential use of uninitialized p...

Zero King noreply at github.com
Fri Apr 3 17:30:34 EST 2020


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8a6d458ec72243c667b39ac1f97cfe7e7e98d1ec
      https://github.com/OpenSIPS/opensips/commit/8a6d458ec72243c667b39ac1f97cfe7e7e98d1ec
  Author: Zero King <l2dy at icloud.com>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M modules/osp/orig_transaction.c

  Log Message:
  -----------
  osp: actually fix potential use of uninitialized pointer

If OSPPTransactionNew() failed, callids[0] is still uninitialized.

(cherry picked from commit c8a99ad3d1dea71ddaa73ed4cac42f4c56b49a38)


  Commit: a4da730c13d52b494f834fdd5c7ff5d61a17937f
      https://github.com/OpenSIPS/opensips/commit/a4da730c13d52b494f834fdd5c7ff5d61a17937f
  Author: Zero King <l2dy at icloud.com>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M modules/exec/exec.c

  Log Message:
  -----------
  exec: fix potential use of uninitialized pointer

(cherry picked from commit 9da92ced576d18e5487cf5dfa584ee638c170520)


  Commit: 4467d246b09c12e2ce2b689992bef458577f9a59
      https://github.com/OpenSIPS/opensips/commit/4467d246b09c12e2ce2b689992bef458577f9a59
  Author: Zero King <l2dy at icloud.com>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M action.c

  Log Message:
  -----------
  Fix potential out-of-bounds access of sroutes->request

(cherry picked from commit b6e5d0127254e78ffe735185eef26ae06293552b)


  Commit: 9c2660c68f5bb00733088c15679a2404442e57c7
      https://github.com/OpenSIPS/opensips/commit/9c2660c68f5bb00733088c15679a2404442e57c7
  Author: Zero King <l2dy at icloud.com>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M route.c

  Log Message:
  -----------
  Add missing NULL check

(cherry picked from commit 7edd729e40d962d014f5caa9f1ec024543e93bc6)


  Commit: bcd723680b506f6ac0a6ec095e3920777bcb6b65
      https://github.com/OpenSIPS/opensips/commit/bcd723680b506f6ac0a6ec095e3920777bcb6b65
  Author: Zero King <l2dy at icloud.com>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M modules/exec/exec_mod.c

  Log Message:
  -----------
  exec: fix NULL check after malloc

hf->next_other should be checked instead.

(cherry picked from commit 8d7e2f310d7f43535dea1dff6b6889df02d95c02)


  Commit: b428f119fb179d00f47d1917362b33484ebaf4b1
      https://github.com/OpenSIPS/opensips/commit/b428f119fb179d00f47d1917362b33484ebaf4b1
  Author: Zero King <l2dy at icloud.com>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M modules/rtpengine/rtpengine.c

  Log Message:
  -----------
  rtpengine: check NULL before assignment

(cherry picked from commit f33f1d839102a24342a91f15a6902c05ee90ea45)


  Commit: 39a3a06fd2486848d7e22736182602a741d42f5d
      https://github.com/OpenSIPS/opensips/commit/39a3a06fd2486848d7e22736182602a741d42f5d
  Author: Zero King <l2dy at icloud.com>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M modules/db_virtual/dbase.c

  Log Message:
  -----------
  db_virtual: check NULL before log

(cherry picked from commit bbbe695ea8d64efe8a6152ed69aca88896d7a3dc)


  Commit: 341c869764e08dde05df89231988f86af07aff2b
      https://github.com/OpenSIPS/opensips/commit/341c869764e08dde05df89231988f86af07aff2b
  Author: Zero King <l2dy at icloud.com>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M modules/tm/tm.c

  Log Message:
  -----------
  tm: type cast before shift to avoid overflow

(cherry picked from commit eeaab52550fce37e3d2713308603e1531cc2e23e)


  Commit: 7140c22bf11e47724cffd9b98ecc61943a574cc5
      https://github.com/OpenSIPS/opensips/commit/7140c22bf11e47724cffd9b98ecc61943a574cc5
  Author: Zero King <l2dy at icloud.com>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M modules/dialog/dialog.c

  Log Message:
  -----------
  dialog: fix possible overflow

(cherry picked from commit 2132b1246d0490a7b22af7471065c92f83d9927f)


Compare: https://github.com/OpenSIPS/opensips/compare/6e97055c8164...7140c22bf11e



More information about the Devel mailing list