[PATCH 5.15 627/731] acct: fix potential integer overflow in encode_comp_t()