Oss-fuzz testing of GraphicsMagick has discovered a dereference of a null pointer in libheif. The oss-fuzz issue number is 393401472. The call stack looks like this: ...