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

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


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b814fe9152a67d0911ec1732dda80f6ecdc59eea
      https://github.com/OpenSIPS/opensips/commit/b814fe9152a67d0911ec1732dda80f6ecdc59eea
  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