app/testeventdev: fix string overflow in parsing