[OpenSIPS-Devel] [OpenSIPS/opensips] 63a3c5: [b2b_entitites] Fix crash on empty To display name.

Bogdan Andrei IANCU noreply at github.com
Fri Jun 28 10:02:12 EDT 2019


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 63a3c58b29620dcab4ccf7f0c952217b4131aa2b
      https://github.com/OpenSIPS/opensips/commit/63a3c58b29620dcab4ccf7f0c952217b4131aa2b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-06-28 (Fri, 28 Jun 2019)

  Changed paths:
    M modules/b2b_entities/b2be_db.c

  Log Message:
  -----------
  [b2b_entitites] Fix crash on empty To display name.

As the To display name may be empty and the DB does not enforce a not NULL, better be ready to read a NULL.
This happens when using db_cachedb + cachedb_mongodb as backend
Closes #1606

(cherry picked from commit 68aaa20113dcbb12c3123108fbe2cbc11f5e7b82)





More information about the Devel mailing list