Module: kamailio Branch: 5.5 Commit: b1953700ae03bde4c4b4d0c549d09c2f66e8ec09 URL: https://github.com/kamailio/kamailio/commit/b1953700ae03bde4c4b4d0c549d09c2f...
Author: Dennis dennis_y@mail.ru Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2023-07-17T11:16:23+02:00
auth_ephemeral: fix authentication with secrets added at runtime (#3390)
* auth_ephemeral: fix authentication with secrets added at runtime
- proper way to work with shm pointer to secret list
* fix: free secret_struct shm
Free shm secret_struct in case the allocation error of secret_list pointer.
(cherry picked from commit 6fa5a8fa8ddfe09bdab2fb445bee94e51d86b7fc) (cherry picked from commit ca13a3382b9067a0dc14fc7ec995ec2d95c8c6cb)
---
Modified: src/modules/auth_ephemeral/auth_ephemeral_mod.c Modified: src/modules/auth_ephemeral/auth_ephemeral_mod.h Modified: src/modules/auth_ephemeral/authorize.c
---
Diff: https://github.com/kamailio/kamailio/commit/b1953700ae03bde4c4b4d0c549d09c2f... Patch: https://github.com/kamailio/kamailio/commit/b1953700ae03bde4c4b4d0c549d09c2f...