aboutsummaryrefslogtreecommitdiff
path: root/src/proj_internal.h
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-01-03 01:06:31 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-01-04 10:49:14 +0100
commitd89a6ab2f3f26d1451971369b0ccfc4eb322729d (patch)
tree75cc3a14a65b4993559b0d11d7e25a7de9016c43 /src/proj_internal.h
parent00de4660a75a9d89c98778cf84f94075b7eef0b9 (diff)
downloadPROJ-d89a6ab2f3f26d1451971369b0ccfc4eb322729d.tar.gz
PROJ-d89a6ab2f3f26d1451971369b0ccfc4eb322729d.zip
Fix use-after-free in debug logging of pj_ellipsoid() (probably caused by a recent master commit)
Diffstat (limited to 'src/proj_internal.h')
-rw-r--r--src/proj_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proj_internal.h b/src/proj_internal.h
index 7573e1bf..76b95130 100644
--- a/src/proj_internal.h
+++ b/src/proj_internal.h
@@ -334,6 +334,8 @@ struct PJconsts {
const char *descr = nullptr; /* From pj_list.h or individual PJ_*.c file */
paralist *params = nullptr; /* Parameter list */
char *def_full = nullptr; /* Full textual definition (usually 0 - set by proj_pj_info) */
+
+ /* For debugging / logging purposes */
char *def_size = nullptr; /* Shape and size parameters extracted from params */
char *def_shape = nullptr;
char *def_spherification = nullptr;