gustafn
committed
on 17 Sep 13
- improve robustness against invalid input