[postgis-tickets] [PostGIS] #3786: OSS FUZZ fixes
PostGIS
trac at osgeo.org
Fri Jul 14 00:48:07 PDT 2017
#3786: OSS FUZZ fixes
---------------------+---------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.4.0
Component: postgis | Version: trunk
Keywords: |
---------------------+---------------------------
I've started an attempt to resolve OSS FUZZ complaints.
Pull request here, for your input.
https://git.osgeo.org/gogs/postgis/postgis/pulls/15
strk doesn't think my change should have made a difference but I tested
two times. without the change segmentation fault with change no
segmentation fault.
My assumption is because the *_cp functions do more checking and internal
does pretty much none.
In hind-sight I probably could have achieved the same affect by swapping
out calls to getPoint2d_internal with getPoint2d_cp without having to
resort to declaring POINT2D variables.
I still need to get the extra CPP flags enabled to confirm I got all the
issues in this bug ticket.
https://oss-fuzz.com/v2/testcase-detail/4733660446064640?noredirect=1
Since it complained about others
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3786>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list