Can this cause a leak?

New construction and they are in the middle of putting up the shingles. Can this not cause a leak when they remove the wood? Or is there some sort of filler for that

New construction and they are in the middle of putting up the shingles. Can this not cause a leak when they remove the wood? Or is there some sort of filler for that