Browse Source
If the topic has not been published, orb_copy returns a negative number which causes update() to memset the data contents to zero. In some instances data is a null pointer. This causes a segment violation crash. Added a check for data != 0 Signed-off-by: Mark Charlebois <charlebm@gmail.com>sbg
1 changed files with 4 additions and 2 deletions
Loading…
Reference in new issue