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

Bogdan Andrei IANCU noreply at github.com
Wed Jul 15 13:59:38 EST 2020


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





More information about the Devel mailing list