Opened 11 years ago

Last modified 9 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: v.net Cc: rblazek
CPU: Unspecified Platform: All

Description

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: v.net added

comment:2 by neteler, 9 years ago

Milestone: 6.4.46.4.6
Note: See TracTickets for help on using tickets.