lib: Fix index out of bounds panic in parse_str function
lib: Fix index out of bounds panic in parse_str function

Fixes #60

Signed-off-by: László Várady <554af7bfb630038cd72e6968cc61920a0ee67cf4@balabit.com>

rust-lang/uuid,nixpulvis/uuid,rust-lang-nursery/uuid