Avoid reading past buffer when calling GETACL