gustafn
committed
12 days ago
make code more robust against invalid input