PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
WKB inputs must have a declared size, to prevent malformed WKB from reading off the end of the memory segment (this stops a malevolent user from declaring a one-ring polygon to have 10 rings, causing the WKB reader to walk off the end of the memory).
check | parser check flags, see LW_PARSER_CHECK_* macros |
size | parser check flags, see LW_PARSER_CHECK_* macros |
Check is a bitmask of: LW_PARSER_CHECK_MINPOINTS, LW_PARSER_CHECK_ODD, LW_PARSER_CHECK_CLOSURE, LW_PARSER_CHECK_NONE, LW_PARSER_CHECK_ALL
Definition at line 656 of file lwin_twkb.c.
References LWDEBUG, LWDEBUGF, lwgeom_from_twkb_state(), s, and TWKB_IN_MAXCOORDS.
Referenced by cu_twkb_idlist(), cu_twkb_in(), and LWGEOMFromTWKB().