Module: kamailio
Branch: 5.6
Commit: ca13a3382b9067a0dc14fc7ec995ec2d95c8c6cb
URL:
https://github.com/kamailio/kamailio/commit/ca13a3382b9067a0dc14fc7ec995ec2…
Author: Dennis <dennis_y(a)mail.ru>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-07-17T10:32:33+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)
---
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/ca13a3382b9067a0dc14fc7ec995ec2…
Patch:
https://github.com/kamailio/kamailio/commit/ca13a3382b9067a0dc14fc7ec995ec2…