img_filter_2d_nearest and the other image filter functions access the args->offset property of the img_filter structure which is a pointer without checking if the value is actually defined. img_filter_2d_ewa(...) creates a local copy of img_filter, but it never initializes the offset property. When that local copy of img_filter is passed into min_filter(sp_sview, sp_samp, &args, &rgba_temp[jj]), an access violation occurs when the offset property is attempted to be read.
This problem also exists in mip_filter_linear_aniso(...)
The initialization should be pretty easy to fix I think, if noone beats me to it I'll see what I can do...
Fixed by 9e9d69979c7aff7dac2d670af950f4a50273bcde.
on Mar 26, 2017 at 03:26:30.
(provided by the Example extension).