raw or dng - which is safer?

Although the raw pixel data should these days come across unaltered, the real problem is the vendor specific “MakerNote” metadata - not all tools know how to dig it out from a converted DNG compared to the original raw file, and sometimes it simply cannot be safely transferred (and this is in principle, not related to Adobe vs other implementations).