[PATCH 6.0 0901/1073] acct: fix potential integer overflow in encode_comp_t()