[PATCH openEuler-1.0-LTS 080/103] share_pool: Add parameter checking