This bug has been copied from bug #453792 and has been proposed to be backported to 4.7 z-stream (EUS).