.......PS. [ZBX-8621] bug fix: error messages should be strdup()-ed