[OpenSIPS-Devel] [OpenSIPS/opensips] 996a67: permissions: Fix loader conflict on multi-defined ...

Liviu Chircu noreply at github.com
Tue Aug 3 18:20:46 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 996a677e356f98ab5058a6cbbec164e732d609a7
      https://github.com/OpenSIPS/opensips/commit/996a677e356f98ab5058a6cbbec164e732d609a7
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-08-03 (Tue, 03 Aug 2021)

  Changed paths:
    M modules/permissions/address.c
    M modules/permissions/hash.c
    M modules/permissions/hash.h
    M modules/permissions/mi.c

  Log Message:
  -----------
  permissions: Fix loader conflict on multi-defined hash_destroy()

With hash_destroy() defined both in lib/hash.c and
modules/permissions/hash.c, this would enable the following shutdown
crash:

0  map_destroy ... at map.c:484
1  0x0000557055f1d75d in hash_destroy ... at lib/hash.c:83
2  0x0000557055f1df9a in hash_destroy ... at lib/hash.c:76
3  0x00007f20948edf75 in clean_address ... at address.c:493
4  0x00007f20948e7208 in mod_exit () at permissions.c:702
5  0x0000557055eb03a1 in destroy_modules () at sr_module.c:562





More information about the Devel mailing list