[ros-diffs] [cwittich] 28050: add a NULL pointer check See issue #2508 for more details.