[SCM] PostGIS branch stable-3.4 updated. 3.4.4-60-g7fbd2bc8d
git at osgeo.org
git at osgeo.org
Tue Oct 7 12:10:56 PDT 2025
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".
The branch, stable-3.4 has been updated
via 7fbd2bc8d07a3f541f95593e77749cda2c5fd74f (commit)
from f9dbfd1a801b47f4ec0ca8f9438b3bfa11bff470 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7fbd2bc8d07a3f541f95593e77749cda2c5fd74f
Author: Maksim Korotkov <m.korotkov at postgrespro.ru>
Date: Tue Oct 7 15:46:55 2025 +0300
address_standardizer: fixed memory leak
The memory was not released in case of error handling.
Found by PostgresPro with Svace static analyzer
Fixes: c6091a4bb ("Prep to move address_standardizer into extensions folder")
Signed-off-by: Maksim Korotkov <m.korotkov at postgrespro.ru>
diff --git a/extensions/address_standardizer/standard.c b/extensions/address_standardizer/standard.c
index 8a4b9abe1..4fe63e3ed 100644
--- a/extensions/address_standardizer/standard.c
+++ b/extensions/address_standardizer/standard.c
@@ -623,6 +623,7 @@ STAND_PARAM *init_stand_context(PAGC_GLOBAL *__pagc_global__,ERR_PARAM *__err_pa
PAGC_CALLOC_STRUC(__stand_param__,STAND_PARAM,1,__err_param__,NULL) ;
if ((__stand_param__->stz_info = create_segments(__err_param__)) == NULL)
{
+ FREE_AND_NULL(__stand_param__);
return NULL ;
}
PAGC_CALLOC_2D_ARRAY(__stand_param__->standard_fields, char, MAXOUTSYM, MAXFLDLEN, __err_param__, NULL) ;
-----------------------------------------------------------------------
Summary of changes:
extensions/address_standardizer/standard.c | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list