cpml: crash on NULL dest in cpml_primitive_put_intersections
commit325fc3ddea20c410c32d3fab1cdb2aa1282c7c5d
authorNicola Fontana <ntd@entidi.it>
Thu, 5 Feb 2015 09:43:37 +0000 (5 10:43 +0100)
committerNicola Fontana <ntd@entidi.it>
Thu, 5 Feb 2015 09:43:37 +0000 (5 10:43 +0100)
tree27786150c387a903f2d4532a5c9fa379191ddc09
parent076e1823ae6d405a559959f78a20591257988365
cpml: crash on NULL dest in cpml_primitive_put_intersections

Instead of silently skip the operation, notify to the caller that dest
is invalid by crashing.
src/cpml/cpml-line.c
src/cpml/cpml-primitive.c