.......PS. [ZBX-4675] added dynamically allocated buffers for error messages