[fix] Never trust user input
[fix] Replace nullbytes with \n
Merge branch 'driver2' of github.com:urlab/hal into driver2