Opened 13 years ago

Closed 13 years ago

#1309 closed defect (fixed)

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

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: master
Keywords: Cc:

Description

Running unit testing:

==17918== Conditional jump or move depends on uninitialised value(s)
==17918==    at 0x4E44A96: next_float_down (lwgeom_api.c:132)
==17918==    by 0x4E5A26B: gbox_float_round (g_serialized.c:140)
==17918==    by 0x4E5A497: gserialized_read_gbox_p (g_serialized.c:243)
==17918==    by 0x4E5AD3A: lwgeom_from_gserialized (g_serialized.c:1193)
==17918==    by 0x40C84B: test_lwgeom_from_gserialized (cu_libgeom.c:220)

Change History (4)

comment:1 by strk, 13 years ago

It's about zmin/zmax not being set in a GBOX. Having gbox_float_round use GBOX's flags might fix this.

comment:2 by strk, 13 years ago

Owner: changed from pramsey to strk
Status: newassigned

comment:3 by strk, 13 years ago

Fixed by r8336

comment:4 by pramsey, 13 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.