transport: fix segfault in transport select
commitdaa02f7d84017f21c3ffa2be9997560d353a8829
authorØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 7 Jul 2010 12:56:56 +0000 (7 14:56 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 7 Jul 2010 15:33:04 +0000 (7 17:33 +0200)
tree85f1f5d24645790f263888c1bf26e4eeb26261fc
parentccaa9edf295e2c763c5a3c32a3f901b1637b99c5
transport: fix segfault in transport select

String compare against addresses in range 0 or so due
to not checking if there was an active session first.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/jtag/transport.c