Add null termination to test string.

BUG=307
TEST=out/Debug/vie_auto_test --automated --gtest_filter=ViEExtendedIntegrationTest.RunsRtpRtcpTestWithoutErrors

Review URL: https://webrtc-codereview.appspot.com/408005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1764 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
mflodman@webrtc.org 2012-02-24 14:25:10 +00:00
parent 29bba01e2f
commit c3a73bb182

View File

@ -418,7 +418,7 @@ void ViEAutoTest::ViERtpRtcpExtendedTest()
unsigned char subType = 3;
unsigned int name = static_cast<unsigned int> (0x41424344); // 'ABCD';
const char* data = "ViEAutoTest Data of length 32 --";
const char* data = "ViEAutoTest Data of length 32 -\0";
const unsigned short numBytes = 32;
EXPECT_EQ(0, ViE.rtp_rtcp->SendApplicationDefinedRTCPPacket(