[OpenSIPS-Devel] [OpenSIPS/opensips] 6b8b9e: pua: Fix some list management bugs; Improve code

2020-07-15 Thread Liviu Chircu
  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6b8b9e3b74aeefb7b045bd7f75aea11190ea596f
  
https://github.com/OpenSIPS/opensips/commit/6b8b9e3b74aeefb7b045bd7f75aea11190ea596f
  Author: Liviu Chircu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/pua/uri_list.h

  Log Message:
  ---
  pua: Fix some list management bugs; Improve code

* do not use strncmp() to compare "str" structs, since it may lead
  to false positives (e.g. strncmp("foobar", "foo", 3) == 0).  Use
  str_match() or str_strcmp() instead.

* do not read memory after pkg_free() (severity: low, since it's PKG
  memory, so reading "invalid" heap memory works anyway...)

* simplify list_pop() and list_free() code

(cherry picked from commit 5df8b636a15a799b5f1ab7a58ebe1c208ce49d2d)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 099a60: pua: Fix some list management bugs; Improve code

2020-07-15 Thread Liviu Chircu
  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 099a60849830a66825600f126b42feb6621079c8
  
https://github.com/OpenSIPS/opensips/commit/099a60849830a66825600f126b42feb6621079c8
  Author: Liviu Chircu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/pua/uri_list.h

  Log Message:
  ---
  pua: Fix some list management bugs; Improve code

* do not use strncmp() to compare "str" structs, since it may lead
  to false positives (e.g. strncmp("foobar", "foo", 3) == 0).  Use
  str_match() or str_strcmp() instead.

* do not read memory after pkg_free() (severity: low, since it's PKG
  memory, so reading "invalid" heap memory works anyway...)

* simplify list_pop() and list_free() code

(cherry picked from commit 5df8b636a15a799b5f1ab7a58ebe1c208ce49d2d)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 3340ea: pua: Fix some list management bugs; Improve code

2020-07-15 Thread Liviu Chircu
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3340eae1eefa74191f282b03047c0d50ebb8c2b8
  
https://github.com/OpenSIPS/opensips/commit/3340eae1eefa74191f282b03047c0d50ebb8c2b8
  Author: Liviu Chircu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/pua/uri_list.h

  Log Message:
  ---
  pua: Fix some list management bugs; Improve code

* do not use strncmp() to compare "str" structs, since it may lead
  to false positives (e.g. strncmp("foobar", "foo", 3) == 0).  Use
  str_match() or str_strcmp() instead.

* do not read memory after pkg_free() (severity: low, since it's PKG
  memory, so reading "invalid" heap memory works anyway...)

* simplify list_pop() and list_free() code

(cherry picked from commit 5df8b636a15a799b5f1ab7a58ebe1c208ce49d2d)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 0d6f7b: [presence] use the right event type.

2020-07-15 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0d6f7beb997a02f5cec82e7f32221e8e2332b9cf
  
https://github.com/OpenSIPS/opensips/commit/0d6f7beb997a02f5cec82e7f32221e8e2332b9cf
  Author: Bogdan-Andrei Iancu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/presence/publish.c

  Log Message:
  ---
  [presence] use the right event type.

Use the event type corresponding to the handled presentity.

Reported by covrity in CID 199919.



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 86158c: [call_center] Fix ETA when no agents are logged

2020-07-15 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 86158c895e695c7289874f84fddfef7154f1ec00
  
https://github.com/OpenSIPS/opensips/commit/86158c895e695c7289874f84fddfef7154f1ec00
  Author: Bogdan-Andrei Iancu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/call_center/call_center.c

  Log Message:
  ---
  [call_center] Fix ETA when no agents are logged

Reported by coverity CID 211393



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] f564fa: [core] log error if add_alias() fails

2020-07-15 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f564faa0d51fe2a1e7625656cd597c5bb24b9033
  
https://github.com/OpenSIPS/opensips/commit/f564faa0d51fe2a1e7625656cd597c5bb24b9033
  Author: Bogdan-Andrei Iancu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M socket_info.c

  Log Message:
  ---
  [core] log error if add_alias() fails

Reported by coverity CID 211363



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] e43b6e: [core] do not use LM_xxx if log_level is NULL

2020-07-15 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e43b6e52e1f41b841e2b1d5bf11747f07d7bcd99
  
https://github.com/OpenSIPS/opensips/commit/e43b6e52e1f41b841e2b1d5bf11747f07d7bcd99
  Author: Bogdan-Andrei Iancu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M core_cmds.c

  Log Message:
  ---
  [core] do not use LM_xxx if log_level is NULL

This may never happen, but as LM_xxx is testing the log_level value, it is not 
wise to use it to report that log_level is NULL

Reported by coverity CID 207925



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 259e6f: [core] Fix printing the async cmd name in error log

2020-07-15 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 259e6f3a3f7d2fc131a7cbf787f3cd5c7b98c161
  
https://github.com/OpenSIPS/opensips/commit/259e6f3a3f7d2fc131a7cbf787f3cd5c7b98c161
  Author: Bogdan-Andrei Iancu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M action.c

  Log Message:
  ---
  [core] Fix printing the async cmd name in error log

Reported by coverity CID 199935



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] b805ad: rls: release memory in case of error

2020-07-15 Thread Răzvan Crainea
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b805adcc81878a1ed316def5961be5245939fa1e
  
https://github.com/OpenSIPS/opensips/commit/b805adcc81878a1ed316def5961be5245939fa1e
  Author: Razvan Crainea 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/rls/resource_notify.c

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

Fixes Coverity CID #199983


  Commit: 24aea8e634a1261b60bbf2a4a15218eece0bee46
  
https://github.com/OpenSIPS/opensips/commit/24aea8e634a1261b60bbf2a4a15218eece0bee46
  Author: Razvan Crainea 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/pua_xmpp/simple2xmpp.c

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

Fixes Coverity CID #199967


  Commit: a094bbc346c364cfc4d2bd75cc751375784d5a0d
  
https://github.com/OpenSIPS/opensips/commit/a094bbc346c364cfc4d2bd75cc751375784d5a0d
  Author: Razvan Crainea 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/pua_dialoginfo/pua_dialoginfo.c

  Log Message:
  ---
  pua_dialoginfo: always parse callid

Fixes coverity CID #199930


Compare: 
https://github.com/OpenSIPS/opensips/compare/259e6f3a3f7d...a094bbc346c3

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 3b20c9: [registrar] Proper init of delete_nh_he variable

2020-07-15 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3b20c9db07ea88bd84609676f2657011588b8b41
  
https://github.com/OpenSIPS/opensips/commit/3b20c9db07ea88bd84609676f2657011588b8b41
  Author: Bogdan-Andrei Iancu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/registrar/save.c

  Log Message:
  ---
  [registrar] Proper init of delete_nh_he variable

The logic may end up to free_hostent(delete_nh_he) without actually using the 
delete_nh_he, leading to freeing so random pointers.

Reported by coverity CID 199942



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 3112b5: xml: properly handle oom when extending $xml resul...

2020-07-15 Thread Vlad Pătrașcu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3112b5942636ad281783a5ba0ec13992e0c78693
  
https://github.com/OpenSIPS/opensips/commit/3112b5942636ad281783a5ba0ec13992e0c78693
  Author: Vlad Patrascu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/xml/xml.c

  Log Message:
  ---
  xml: properly handle oom when extending $xml result buffer

Fixes Coverity CID #200068



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 355b54: xml: properly handle oom when extending $xml resul...

2020-07-15 Thread Vlad Pătrașcu
  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 355b54d45358ccf21006cdce119f4d36a660c828
  
https://github.com/OpenSIPS/opensips/commit/355b54d45358ccf21006cdce119f4d36a660c828
  Author: Vlad Patrascu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/xml/xml.c

  Log Message:
  ---
  xml: properly handle oom when extending $xml result buffer

Fixes Coverity CID #200068

(cherry picked from commit 3112b5942636ad281783a5ba0ec13992e0c78693)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 855b2d: xml: properly handle oom when extending $xml resul...

2020-07-15 Thread Vlad Pătrașcu
  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 855b2d5d50e6c42de28ed58ca7c45784606fcec0
  
https://github.com/OpenSIPS/opensips/commit/855b2d5d50e6c42de28ed58ca7c45784606fcec0
  Author: Vlad Patrascu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/xml/xml.c

  Log Message:
  ---
  xml: properly handle oom when extending $xml result buffer

Fixes Coverity CID #200068

(cherry picked from commit 3112b5942636ad281783a5ba0ec13992e0c78693)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 3b93b6: xml: properly handle oom when extending $xml resul...

2020-07-15 Thread Vlad Pătrașcu
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3b93b691dd336d371dd57b91219e80d7303743f1
  
https://github.com/OpenSIPS/opensips/commit/3b93b691dd336d371dd57b91219e80d7303743f1
  Author: Vlad Patrascu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/xml/xml.c

  Log Message:
  ---
  xml: properly handle oom when extending $xml result buffer

Fixes Coverity CID #200068

(cherry picked from commit 3112b5942636ad281783a5ba0ec13992e0c78693)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] b0135b: [drouting] Avoid handling a NULL 'gw' upon bogus f...

2020-07-15 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b0135bb010c119328e9fb1ebb88f3f24c43fa27e
  
https://github.com/OpenSIPS/opensips/commit/b0135bb010c119328e9fb1ebb88f3f24c43fa27e
  Author: Bogdan-Andrei Iancu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/drouting/drouting.c

  Log Message:
  ---
  [drouting] Avoid handling a NULL 'gw' upon bogus function call

Reported by coverity CID 211365



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] a68278: rtpproxy: ignore unknown payload type media streams

2020-07-15 Thread Răzvan Crainea
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a682789d58bc175ac3780e1ddae0b8b9eee9a32f
  
https://github.com/OpenSIPS/opensips/commit/a682789d58bc175ac3780e1ddae0b8b9eee9a32f
  Author: Razvan Crainea 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/rtpproxy/rtpproxy.c

  Log Message:
  ---
  rtpproxy: ignore unknown payload type media streams

Thanks go to @wangduanduan for reporting and providing troubleshoot info



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 44abb3: tls_mgm: fix uninitialized variable

2020-07-15 Thread Vlad Pătrașcu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 44abb30bbebcb701bd4b351b68b1a8e919d07abe
  
https://github.com/OpenSIPS/opensips/commit/44abb30bbebcb701bd4b351b68b1a8e919d07abe
  Author: Vlad Patrascu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/tls_mgm/tls_mgm.c

  Log Message:
  ---
  tls_mgm: fix uninitialized variable

Fixes Coverity CID #199976



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] c489f4: [core] proper checking on return code for getsockn...

2020-07-15 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c489f462d236fddb883e64a6cde7b04929a76191
  
https://github.com/OpenSIPS/opensips/commit/c489f462d236fddb883e64a6cde7b04929a76191
  Author: Bogdan-Andrei Iancu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M net/net_tcp.c

  Log Message:
  ---
  [core] proper checking on return code for getsockname()

Reported by coverity CID 200064



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 596c57: event_flatstore: prevent NULL deref in case of bog...

2020-07-15 Thread Vlad Pătrașcu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 596c572da62169d453fface97d13ec557d200561
  
https://github.com/OpenSIPS/opensips/commit/596c572da62169d453fface97d13ec557d200561
  Author: Vlad Patrascu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/event_flatstore/event_flatstore.c

  Log Message:
  ---
  event_flatstore: prevent NULL deref in case of bogus param

Fixes Coverity CID #207918



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] f3530c: [pua_dialoginfo] Fix bad test on resolving flag name

2020-07-15 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f3530c10adc1d2a5b01340a9823f84db61c98e72
  
https://github.com/OpenSIPS/opensips/commit/f3530c10adc1d2a5b01340a9823f84db61c98e72
  Author: Bogdan-Andrei Iancu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/pua_dialoginfo/pua_dialoginfo.c

  Log Message:
  ---
  [pua_dialoginfo] Fix bad test on resolving flag name

get_flag_id_by_name() may also return other negative codes than -1

Reported by coverity CID 207914



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 11e63b: [presence] Proper testing for the return code of g...

2020-07-15 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 11e63b35941766c09810aceb48ed300c808a1ef1
  
https://github.com/OpenSIPS/opensips/commit/11e63b35941766c09810aceb48ed300c808a1ef1
  Author: Bogdan-Andrei Iancu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/presence/subscribe.c

  Log Message:
  ---
  [presence] Proper testing for the return code of get_body()

Reported by coverity CID 207911



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] ab7d44: [drouting] removed useless code

2020-07-15 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ab7d4430941263d20acd1f45f09c80a5040f
  
https://github.com/OpenSIPS/opensips/commit/ab7d4430941263d20acd1f45f09c80a5040f
  Author: Bogdan-Andrei Iancu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/drouting/drouting.c

  Log Message:
  ---
  [drouting] removed useless code

Makes no sense to select the table at db_con init time, as various queries 
(from various modules) may set and use different tables.

Related to coverity report CID 58405



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] cad6ab: [pua_dialoginfo] Fix condition on empty "callee" s...

2020-07-15 Thread Bogdan Andrei IANCU
  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cad6ab066ae51e210d2d4bae5c7311ec81de2b4c
  
https://github.com/OpenSIPS/opensips/commit/cad6ab066ae51e210d2d4bae5c7311ec81de2b4c
  Author: Bogdan-Andrei Iancu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/pua_dialoginfo/pua_dialoginfo.c

  Log Message:
  ---
  [pua_dialoginfo] Fix condition on empty "callee" string

(cherry picked from commit e001abe34b2405ef31d7d3c616e18cc3551e5764)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] e001ab: [pua_dialoginfo] Fix condition on empty "callee" s...

2020-07-15 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e001abe34b2405ef31d7d3c616e18cc3551e5764
  
https://github.com/OpenSIPS/opensips/commit/e001abe34b2405ef31d7d3c616e18cc3551e5764
  Author: Bogdan-Andrei Iancu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/pua_dialoginfo/pua_dialoginfo.c

  Log Message:
  ---
  [pua_dialoginfo] Fix condition on empty "callee" string



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 5aa3fd: [pua_dialoginfo] Fix condition on empty "callee" s...

2020-07-15 Thread Bogdan Andrei IANCU
  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5aa3fda97d656c3e7a7c48c40c791c287344c1a8
  
https://github.com/OpenSIPS/opensips/commit/5aa3fda97d656c3e7a7c48c40c791c287344c1a8
  Author: Bogdan-Andrei Iancu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/pua_dialoginfo/pua_dialoginfo.c

  Log Message:
  ---
  [pua_dialoginfo] Fix condition on empty "callee" string

(cherry picked from commit e001abe34b2405ef31d7d3c616e18cc3551e5764)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 249b80: [nathelper] Fix bad test on resolving flag name

2020-07-15 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 249b80741ddbb0952c7f737af2a7c2473f05eacf
  
https://github.com/OpenSIPS/opensips/commit/249b80741ddbb0952c7f737af2a7c2473f05eacf
  Author: Bogdan-Andrei Iancu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/nathelper/nathelper.c

  Log Message:
  ---
  [nathelper] Fix bad test on resolving flag name

get_flag_id_by_name() may also return other negative codes than -1

Reported by coverity CID 200026, 25, 199906



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] b1d796: [nathelper] Proper testing upon extracting hash value

2020-07-15 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b1d796344aa674e25fc4408bda5d336bce2bc605
  
https://github.com/OpenSIPS/opensips/commit/b1d796344aa674e25fc4408bda5d336bce2bc605
  Author: Bogdan-Andrei Iancu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/nathelper/sip_pinger.h

  Log Message:
  ---
  [nathelper] Proper testing upon extracting hash value

Be sure it is valid hexa and it it within the correct range. The lack of these 
tests may open the gate for some nasty exploits.

Reported by coverity CID 199958



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] d4abd5: [presence] fix ugly copy-paste error in MI output

2020-07-15 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d4abd53b202eeb5d0cd932fb6fa59e0074f3848e
  
https://github.com/OpenSIPS/opensips/commit/d4abd53b202eeb5d0cd932fb6fa59e0074f3848e
  Author: Bogdan-Andrei Iancu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/presence/presence.c

  Log Message:
  ---
  [presence] fix ugly copy-paste error in MI output

Reported by coverity CID 200057



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 4a18ce: tls_mgm: set the TLS session id context with the p...

2020-07-15 Thread Vlad Pătrașcu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4a18ce89c89b4f9831ff748bfa75e2aa5db1b303
  
https://github.com/OpenSIPS/opensips/commit/4a18ce89c89b4f9831ff748bfa75e2aa5db1b303
  Author: Vlad Patrascu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/tls_mgm/tls.h
M modules/tls_mgm/tls_mgm.c

  Log Message:
  ---
  tls_mgm: set the TLS session id context with the proper length

Fixes Coverity CID #207904



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 9bac91: tm: fix bad string in the MI output of t_uac_dlg

2020-07-15 Thread Vlad Pătrașcu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9bac91d5583ba8d640ca26d940e0d4e10f847a28
  
https://github.com/OpenSIPS/opensips/commit/9bac91d5583ba8d640ca26d940e0d4e10f847a28
  Author: Vlad Patrascu 
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
M modules/tm/mi.c

  Log Message:
  ---
  tm: fix bad string in the MI output of t_uac_dlg

Fixes Coverity CID #199965, #199943



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel