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

Bogdan Andrei IANCU noreply at github.com
Wed Jul 15 13:30:56 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e43b6e52e1f41b841e2b1d5bf11747f07d7bcd99
      https://github.com/OpenSIPS/opensips/commit/e43b6e52e1f41b841e2b1d5bf11747f07d7bcd99
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  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





More information about the Devel mailing list