#5785 closed patch (fixed)
ST_MapAlgebra segfaults when expression references a supernumerary rast argument
Reported by: | dmfay | Owned by: | robe |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.3.8 |
Component: | raster | Version: | 3.4.x |
Keywords: | Cc: | dmfay |
Description
I had a copy-paste error go a little bit more wrong than I'd have expected. This query reproduces the problem (this will segfault your server!):
select st_mapalgebra( c.rast, '8BUI', '[rast2.val] + 1' ) as rast from st_addband(st_makeemptyraster(100, 100, 0.0, 0.0, 1.0), 1, '8BUI') as c (rast);
Attachments (1)
Change History (8)
by , 4 months ago
Attachment: | 0001-fix-Prevent-ST_MapAlgebra-segfault-specifying-rast2-.patch added |
---|
comment:1 by , 4 months ago
Component: | postgis → raster |
---|---|
Owner: | changed from | to
comment:2 by , 4 months ago
comment:3 by , 4 months ago
Milestone: | PostGIS 3.5.1 → PostGIS 3.4.4 |
---|
comment:7 by , 4 months ago
Milestone: | PostGIS 3.4.4 → PostGIS 3.3.8 |
---|
Note:
See TracTickets
for help on using tickets.
In acf75fe/git: