fix fuzzing problems
Merge branch 'master' of https://github.com/cnlohr/bridgesim