[ros-diffs] [gedmurphy] 23438: size the buffer dynamically to avoid potentially overflowing it