Skip to content

Commit 753f0e2

Browse files
committed
Prepare for GDAL 2.4.3
1 parent 5005679 commit 753f0e2

File tree

8 files changed

+126
-10
lines changed

8 files changed

+126
-10
lines changed

gdal/GDALmake.opt.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ GDAL_INCLUDE = -I$(GDAL_ROOT)/port -I$(GDAL_ROOT)/gcore \
123123
# libtool targets and help variables
124124
LIBGDAL := libgdal.la
125125
LIBGDAL_CURRENT := 25
126-
LIBGDAL_REVISION := 2
126+
LIBGDAL_REVISION := 3
127127
LIBGDAL_AGE := 5
128128

129129
# native build targets and variables

gdal/NEWS

+116
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,119 @@
1+
= GDAL/OGR 2.4.3 Release Notes =
2+
3+
The 2.4.3 release is a bug fix release.
4+
5+
== Misc ==
6+
7+
* Replace a few catch of bad_alloc by exception to handle the case of 32 bit trying to allocate more than 4GB of memory and thus throwing a length_error exception. Found by OSS Fuzz
8+
* Fix issues with thread_local and C++ objects that don't work well with DLL on Windows
9+
10+
== Port ==
11+
12+
* /vsicrypt/: fix memleak in error code path
13+
* /vsitar/: support >100 character file names (#1559)
14+
* /vsitar/: accept space as end of field terminator
15+
16+
== GDAL core ==
17+
18+
* fix non-neareset resampling over nodata blocks (#1941)
19+
20+
== GDAL utilities ==
21+
22+
* gdalwarp: adjust nodata values, passed with -srcnodata/-dstnodata, and close to FLT_MAX to exactly it (#1724)
23+
* Python scripts: GetOutputDriverFor(): fixes error when multiple drivers found ( #1719)
24+
25+
== GDAL drivers ==
26+
27+
BAG driver:
28+
* calculate the northeast pixel corner rather than scaling the resolution, due to an incorrectly shifted northeast corner in some CARIS surveys (#1728)
29+
30+
CTable2Dataset driver:
31+
* SetGeoTransform(): fix read buffer overflow from stack
32+
33+
ENVI driver:
34+
* preserve 'byte order' on update (#1796)
35+
36+
GTiff driver:
37+
* make sure that GetMetadataDomainList() doesn't return EXIF when there's no EXIF metadata (https://github.com/mapbox/rasterio/pull/1740#issuecomment-526660946)
38+
* Internal libtiff: backport security related fixes
39+
40+
HDF5 and netCDF drivers:
41+
* fix crash when reading attributes of type string of variable length with NULL values
42+
43+
JP2KAK driver:
44+
* fix issue with multi-threaded reads
45+
46+
JP2OpenJPEG driver:
47+
* fix error logic in multi-threaded code causing memory corruption
48+
* fix reading overviews, when tiled API is used, and the dimensions of the full resolution image are not a multiple of 2^numresolutions (#1860)
49+
* fix to return the proper number of bytes read when we read more than 2 GB at once (https://github.com/uclouvain/openjpeg/issues/1151)
50+
51+
JPEG driver:
52+
* fix further calls to RasterIO after reading full image at full resolution (#1947)
53+
54+
PDF driver:
55+
* fix nullptr dereferences on corrupted files (OSS Fuzz #16438, #16558, #16759)
56+
* fix potential heap buffer overflow (OSS Fuzz #16546)
57+
* avoid potential integer division by zero (OSS Fuzz #17129)
58+
59+
SAFE driver:
60+
* avoid potential use-after-free (Coverity 1404037 and 1404140)
61+
62+
Terragen driver:
63+
* avoid potential use-after-free on error code path in write_header() (Coverity 1404060)
64+
65+
USGSDEM driver:
66+
* avoid int overflow. Fixes OSS Fuzz #15715
67+
* fix reading FEMA generated Lidar datasets whose header is 918 bytes large
68+
69+
VRT driver:
70+
* avoid erroneous pixel request do be done with KernelFilteredSource
71+
72+
== OGR core ==
73+
74+
* OGRExpatRealloc(): fix double-free when size to allocate is above the default 10MB threshold. OSS Fuzz #16178 / CVE-2019-17545
75+
* OGR SQLite: do not propagate 'IS / IS NOT value' constructs to OGR SQL
76+
* OGRSimpleCurve::getPoints() with XYZM: fix wrong stride used for M array
77+
* OGRSimpleCurve: fix reversePoints() and addSubLineString() to take into account M dimension
78+
79+
== OGR drivers ==
80+
81+
CAD driver:
82+
* libopencad: CADBuffer: replace m_guard by m_nSize to avoid pointer wrap around on 32 bit platforms on corrupted files. OSS Fuzz #16388
83+
84+
DGN driver:
85+
* avoid size_t overflow / illegal memory access. OSS Fuzz #16393
86+
87+
GeoJSON driver:
88+
* fix update of file on Windows (https://github.com/qgis/QGIS/issues/28580)
89+
90+
GPX driver:
91+
* fix memory leak when streaming to /vsistdout/
92+
93+
LIBKML driver:
94+
* fix potential memory leak. (Coverity 1404148)
95+
96+
MITAB driver:
97+
* fix potential double-free (Coverity 1404224)
98+
* avoid potential nullptr deref (Coverity 1404174)
99+
100+
PDF driver:
101+
* fix reading polygon with holes and Bezier curves (#1932)
102+
* fix reading strings with escape sequences
103+
104+
PostgreSQL driver:
105+
* add support for PostgreSQL 12 (#1692)
106+
* be more restrictive when deducing non-nullability of columns in SQL result layers (#1734)
107+
108+
S57 driver:
109+
* s57objectclasses.csv: add missing TXTDSC attribute for DRYDOC class (#1723)
110+
111+
XLSX driver:
112+
* add support for .xlsm extension
113+
114+
WFS3 driver:
115+
* correctly handle user query string parameters in connection URL (#1710)
116+
1117
= GDAL/OGR 2.4.2 Release Notes =
2118

3119
The 2.4.2 release is a bug fix release.

gdal/VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.2
1+
2.4.3

gdal/gcore/gdal_version.h.in

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#ifndef GDAL_VERSION_MAJOR
88
# define GDAL_VERSION_MAJOR 2
99
# define GDAL_VERSION_MINOR 4
10-
# define GDAL_VERSION_REV 2
10+
# define GDAL_VERSION_REV 3
1111
# define GDAL_VERSION_BUILD 0
1212
#endif
1313

@@ -24,9 +24,9 @@
2424

2525
#if !defined(DO_NOT_DEFINE_GDAL_RELEASE_DATE_AND_GDAL_RELEASE_NAME)
2626
#ifndef GDAL_RELEASE_DATE
27-
# define GDAL_RELEASE_DATE 20190628
27+
# define GDAL_RELEASE_DATE 20191028
2828
#endif
2929
#ifndef GDAL_RELEASE_NAME
30-
# define GDAL_RELEASE_NAME "2.4.2"
30+
# define GDAL_RELEASE_NAME "2.4.3"
3131
#endif
3232
#endif

gdal/swig/include/perl/gdal_perl.i

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ use Geo::GDAL::Const;
143143
# Note that the 1/100000 digits may be used to create more than one
144144
# CPAN release from one GDAL release.
145145

146-
our $VERSION = '2.0402';
147-
our $GDAL_VERSION = '2.4.2';
146+
our $VERSION = '2.0403';
147+
our $GDAL_VERSION = '2.4.3';
148148

149149
=pod
150150

gdal/swig/include/perl/ogr_perl.i

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ ALTERED_DESTROY(OGRGeometryShadow, OGRc, delete_Geometry)
126126
%perlcode %{
127127

128128
package Geo::OGR;
129-
our $VERSION = '2.0402'; # this needs to be the same as that in gdal_perl.i
129+
our $VERSION = '2.0403'; # this needs to be the same as that in gdal_perl.i
130130

131131
Geo::GDAL->import(qw(:INTERNAL));
132132

gdal/swig/python/README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ reference documentation, but the `GDAL API Tutorial`_ includes Python examples.
1616
Dependencies
1717
------------
1818

19-
* libgdal (2.4.2 or greater) and header files (gdal-devel)
19+
* libgdal (2.4.3 or greater) and header files (gdal-devel)
2020
* numpy (1.0.0 or greater) and header files (numpy-devel) (not explicitly
2121
required, but many examples and utilities will not work without it)
2222

gdal/swig/python/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Howard Butler hobu.inc@gmail.com
88

99

10-
gdal_version = '2.4.2'
10+
gdal_version = '2.4.3'
1111

1212
import sys
1313
import os

0 commit comments

Comments
 (0)