The spadix of the titan arum plant is protected from water by a specialized bract called a spathe, that clasps the spadix tightly enough to form a waterproof bag.
“The tall grey spadix [of the titan arum], which is filled with cobweb-like support fibres, becomes flaccid, topples forward and droops over the margin of the spathe. The spathe itself contracts inwards and its upper margins start to twist round the lower part of the spadix, clasping it so tightly that a huge water-tight bag is created. Safe inside it, the ovaries of the fertilised female flowers begin to swell.” (Attenborough 1995:136)