Fix error reporting access to packet payload.