Skip to content
  • David Zhao's avatar
    4e336cb6
    Bug#21198064 GEOMETRY CONSTRUCTION FUNCTIONS ALLOWS INVALID WKT · 4e336cb6
    David Zhao authored
    Issue: When constructing a geometry from WKT or WKB, we didn't check for
    trailing trash bytes, so anything trailing was allowed.
    
    Fix: Check such trailing bytes and reject if there are non-whitespace trailing
    bytes in WKT, and reject in case of any extra trailing bytes in WKB.
    4e336cb6
    Bug#21198064 GEOMETRY CONSTRUCTION FUNCTIONS ALLOWS INVALID WKT
    David Zhao authored
    Issue: When constructing a geometry from WKT or WKB, we didn't check for
    trailing trash bytes, so anything trailing was allowed.
    
    Fix: Check such trailing bytes and reject if there are non-whitespace trailing
    bytes in WKT, and reject in case of any extra trailing bytes in WKB.
Loading