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

Liviu Chircu noreply at github.com
Tue Aug 3 18:21:09 EST 2021


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

(cherry picked from commit 996a677e356f98ab5058a6cbbec164e732d609a7)





More information about the Devel mailing list