2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 13:07:50 +00:00

[2669] Initialize memory in tcp unit test

This commit is contained in:
Jelte Jansen 2013-02-13 23:42:54 +01:00
parent 39a8fecdf3
commit 7725df2d75

View File

@ -83,7 +83,9 @@ public:
PrivateData() :
error_code_(), length_(0), cumulative_(0), expected_(0), offset_(0),
name_(""), queued_(NONE), called_(NONE)
{}
{
memset(data_, 0, MIN_SIZE);
}
asio::error_code error_code_; ///< Completion error code
size_t length_; ///< Bytes transferred in this I/O