`text` was and is declared as `char[5]`. The previous implementation did not test the input, so I don't know if the limitation is needed at all.