[PATCH openEuler-5.10-LTS 539/559] proc: bootconfig: Add null pointer check