MWM action-argument reallocation
f.action parsing can expand environment-backed arguments and grow its
argument vector. The parser now checks string and capacity arithmetic, and
keeps the old allocation valid until a new allocation succeeds, so overflow or
allocation failure cannot turn the subsequent copy into a null-pointer write.
Temporary parser strings are released on both success and failure, and the
action record is initialized transactionally before it is published. The event
cleanup path also releases the argument vector after freeing its strings.
Successful action parsing and the existing argument/resource interfaces are
unchanged. The focused regression check is
tests/automated/check-mwm-action-arg-realloc.py.
CK Core Motif