[postgis-tickets] [SCM] PostGIS branch master updated. 42dd04bb15fd9fc42b0a8d5a226e2aa6e3375554

git at osgeo.org git at osgeo.org
Mon Dec 2 15:25:33 PST 2019


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, master has been updated
       via  42dd04bb15fd9fc42b0a8d5a226e2aa6e3375554 (commit)
      from  e7c352608c6449ef59d0adad095289038ba27343 (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 42dd04bb15fd9fc42b0a8d5a226e2aa6e3375554
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Mon Dec 2 15:25:00 2019 -0800

    Fix CI failure in SADFWrite,
    References #4591

diff --git a/loader/safileio.c b/loader/safileio.c
index 3176144..0bd6430 100644
--- a/loader/safileio.c
+++ b/loader/safileio.c
@@ -116,6 +116,7 @@ static
 SAOffset SADFWrite( void *p, SAOffset size, SAOffset nmemb, SAFile file )
 
 {
+    if (!nmemb || !p) return 0;
     return (SAOffset) fwrite( p, (size_t) size, (size_t) nmemb,
                               (FILE *) file );
 }

-----------------------------------------------------------------------

Summary of changes:
 loader/safileio.c | 1 +
 1 file changed, 1 insertion(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list