]> git.ipfire.org Git - thirdparty/asterisk.git/commit
cdr_pgsql: Fix crash when the module fails to load multiple times.
authorchrsmj <52975048+chrsmj@users.noreply.github.com>
Thu, 16 May 2024 20:12:51 +0000 (14:12 -0600)
committerasterisk-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Wed, 5 Jun 2024 19:19:33 +0000 (19:19 +0000)
commitf789b7765baf68a471b9dda42181fd4204ca74e6
tree91b6fc9572cb5676daa7551809df12dac3ede747
parente1db3027afa366a8498dd5863f8db7d24b8fc237
cdr_pgsql: Fix crash when the module fails to load multiple times.

Missing or corrupt cdr_pgsql.conf configuration file can cause the
second attempt to load the PostgreSQL CDR module to crash Asterisk via
the Command Line Interface because a null CLI command is registered on
the first failed attempt to load the module.

Resolves: #736
cdr/cdr_pgsql.c