Read the depot prefix on a damaged label
strlen length check
StringIndexOutOfBoundsException
strlen before substr
String#length before slicing