This bug has been copied from bug #552438 and has been proposed to be backported to 5.3 z-stream (EUS).
closing this as the root bug was closed. We already have the patch mentioned in bz552438 c#18 in 5.3.z.