...G...PS. [ZBX-8172] added allocation for NULL values