performance and security fixes

王权利请求将github/fork/NARKOZ/patch-0合并到master

Created by: NARKOZ

合并请求报告