[sr-dev] git:master:76de00a4: core: mem - check if fragmet exists before setting function field