pgsql2shp makes dangerous call to liblwgeom on POINT EMPTY
|Reported by:||strk||Owned by:||robe|
It looks like dumping empty points is doing bad things from dumper:
$ pgsql2shp pg25 "select 'POINT EMPTY'::geometry" Initializing... Done (postgis major version: 3). Output shape: Point Dumping: Xlwgeom_api.c  called with n=0 and npoints=0
I tested this in current trunk (r17559) but I suspect it happens in older versions too. BTW, that message was once an ERROR or fatal assertion, and only "recently" turned into a notice instead.