[PATCH openEuler-22.03-LTS] Fix CWE-457 bug-2