[ros-diffs] [amunger] 27299: Fix realloc behavior when size == 0 and ptr != NULL. Patch by DrV, bug 2347.