Opened 11 years ago

Last modified 8 years ago

#2129 new defect

Vect_net_build_graph should check cost values

Reported by: rblazek Owned by: grass-dev@…
Priority: normal Milestone: 6.4.6
Component: Vector Version: 6.4.3 RCs
Keywords: Cc: rblazek
CPU: Unspecified Platform: All


Vect_net_build_graph check cost values read from database and call G_fatal_error() if value is out of supported range:

1) values must be positive (except -1 used to exclude edge)

2) value * cost_multip sould be lower than dglInt32_t max value

Change History (2)

comment:1 by neteler, 11 years ago

Component: DefaultVector
Keywords: added

comment:2 by neteler, 8 years ago

Note: See TracTickets for help on using tickets.