diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-04-26 16:47:00 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-04-26 16:47:00 +0200 |
| commit | 39cd68f661ac86484b341c93f949c29592694e89 (patch) | |
| tree | 9a01cfdb52f6dbb43b24d62826470c8e5b57c8e8 /src/proj_internal.h | |
| parent | d6b3a5243689e4531a0af2b2ab284b438120ef0b (diff) | |
| download | PROJ-39cd68f661ac86484b341c93f949c29592694e89.tar.gz PROJ-39cd68f661ac86484b341c93f949c29592694e89.zip | |
pipeline initialization: avoid deep recursion on corrupted PROJ string like https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21889
Diffstat (limited to 'src/proj_internal.h')
| -rw-r--r-- | src/proj_internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proj_internal.h b/src/proj_internal.h index c600a75e..618133bb 100644 --- a/src/proj_internal.h +++ b/src/proj_internal.h @@ -747,6 +747,7 @@ struct projCtx_t { projGridChunkCache gridChunkCache{}; int projStringParserCreateFromPROJStringRecursionCounter = 0; // to avoid potential infinite recursion in PROJStringParser::createFromPROJString() + int pipelineInitRecursiongCounter = 0; // to avoid potential infinite recursion in pipeline.cpp TMercAlgo defaultTmercAlgo = TMercAlgo::PODER_ENGSAGER; // can be overridden by content of proj.ini |
