[postgis-tickets] [PostGIS] #4724: [raster] crash on null input to st_summarystatsagg()

PostGIS trac at osgeo.org
Thu Jul 1 17:24:12 PDT 2021


#4724: [raster] crash on null input to st_summarystatsagg()
---------------------+-------------------------------------
  Reporter:  Robins  |      Owner:  robe
      Type:  defect  |     Status:  new
  Priority:  medium  |  Milestone:  PostGIS 3.0.4
 Component:  raster  |    Version:  3.0.x
Resolution:          |   Keywords:  st_summarystatsagg null
---------------------+-------------------------------------

Comment (by robe):

 backtrace:


 {{{
 Backtrace stopped: previous frame inner to this frame (corrupt stack?)
 (gdb) cont
 Continuing.
 [Thread 11716.0x495c exited with code 0]

 Thread 1 received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 11716.0x5b98]
 0x000000006e3a7372 in RASTER_summaryStats_finalfn (fcinfo=0x520e9a0)
     at rtpg_statistics.c:854
 854             if (state->stats->count > 0) {

 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4724#comment:4>
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