[PATCH 6.1 0959/1146] acct: fix potential integer overflow in encode_comp_t()