off-by-one allocation caused trqauthd segfault