Bug fix on segv in not CLI apis (image->image_info pointer)

4 files changed