Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1894 Only limit scan name if it is too long
The function to generate scan names trims the name if it is too long, during tests I had it happen that it was short enough and then the program crashes with a panic because the index is out of range. This checks the length before to prevent the panic. Signed-off-by: Lukas Fischer <lukas.fischer@iteratec.com>