diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/pj_gridlist.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pj_gridlist.c b/src/pj_gridlist.c index 0cfab76e..bc005d32 100644 --- a/src/pj_gridlist.c +++ b/src/pj_gridlist.c @@ -178,7 +178,8 @@ PJ_GRIDINFO **pj_gridlist_from_nadgrids( projCtx ctx, const char *nadgrids, { size_t end_char; int required = 1; - char name[128]; + int max_path_length = 1024; + char name[max_path_length]; if( *s == '@' ) { |
