Unified patch 3.4.46

Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>