[ros-diffs] [weiden] 18540: fix incorrect usage of alloca and a buffer overflow