Opened 12 years ago

Closed 12 years ago

#1829 closed defect (fixed)

st_geomfromgeojson: Conditional jump or move depends on uninitialised value(s)

Reported by: strk Owned by: pramsey
Priority: high Milestone: PostGIS 2.0.1
Component: postgis Version: 2.0.x
Keywords: Cc:

Description

Running regress/in_geojson.sql under valgrind:

==24245== Conditional jump or move depends on uninitialised value(s)
==24245==    at 0x9B98791: gbox_merge (g_box.c:175)
==24245==    by 0x9B98EEA: lwgeom_calculate_gbox_cartesian (g_box.c:531)
==24245==    by 0x9B6E73D: geom_from_geojson (lwgeom_in_geojson.c:531)

Change History (2)

comment:1 by strk, 12 years ago

This statement is enough to trigger the error:

 SELECT st_geomfromgeojson('{"type":"MultiPoint","coordinates":[[1,1],[1,1]]}');

comment:2 by strk, 12 years ago

Resolution: fixed
Status: newclosed

Fixed with r9753.

Note: See TracTickets for help on using tickets.