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