[serialize] Add c->check_assign()

To check for assignment overflows.
3 files changed