Fix stack overflow in ErrInAdequateCapacity. Upstream-commit: c73dd3fe7b0ef6c8e4e16a72b22f32f33113fac1 Component: engine