[postgis-devel] getPoint aligned/unaligned reads
Sandro Santilli
strk at kbt.io
Sun Sep 26 11:32:29 PDT 2021
I must have lost track but.. is POINTARRAY nowadays ensured to always
be double-aligned or not ? I'm asking because of issue #4990 which
reveals some problem on 32bit and I suspect (but didn't confirm yet)
that it may be due to using the getPoint_cp function, which does
the cast from char* to double*...
Paul: as the last one who touched the serialization format, is it
always safe to use getPoint_cp or not, to your knowledge ?
--strk;
Libre GIS consultant/developer
https://strk.kbt.io/services.html
More information about the postgis-devel
mailing list