[postgis-tickets] r17555 - Address GCC 9 warning
Raul
raul at rmr.ninja
Fri Jun 21 06:45:04 PDT 2019
Author: algunenano
Date: 2019-06-21 06:45:04 -0700 (Fri, 21 Jun 2019)
New Revision: 17555
Modified:
trunk/loader/shpopen.c
Log:
Address GCC 9 warning
shpopen.c:1757:22: error: ‘. Probably broken SHP file’ directive
output may be truncated writing 26 bytes into a region of size
between 25 and 48 [-Werror=format-truncation=]
Modified: trunk/loader/shpopen.c
===================================================================
--- trunk/loader/shpopen.c 2019-06-21 10:49:32 UTC (rev 17554)
+++ trunk/loader/shpopen.c 2019-06-21 13:45:04 UTC (rev 17555)
@@ -1565,7 +1565,7 @@
{
int32 nEntitySize, nRequiredSize;
SHPObject *psShape;
- char szErrorMsg[128];
+ char szErrorMsg[130];
/* -------------------------------------------------------------------- */
/* Validate the record/entity number. */
More information about the postgis-tickets
mailing list