gustafn
committed
8 months ago
make code more robust against invalid input