zbx_execute_threaded_metric() doesn't serialize length of the data. This can lead to sending incomplete agent result to server when the child process received a signal (SIGUSR1 for example) during write(2).
The feature was implemented in ZBX-9781 to allow vfs.fs.size, etc. for NFS to be timed out.
Coverity: CID 154194.