...G...PS. [ZBX-8172] fixed a bug introduced in r45690: initialization of "p" is needed here