From c3a73bb182f042756d538fe42286f8e1b9b2f86a Mon Sep 17 00:00:00 2001 From: "mflodman@webrtc.org" Date: Fri, 24 Feb 2012 14:25:10 +0000 Subject: [PATCH] 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 --- src/video_engine/test/auto_test/source/vie_autotest_rtp_rtcp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_engine/test/auto_test/source/vie_autotest_rtp_rtcp.cc b/src/video_engine/test/auto_test/source/vie_autotest_rtp_rtcp.cc index 0059c7c6d0..c258762dc7 100644 --- a/src/video_engine/test/auto_test/source/vie_autotest_rtp_rtcp.cc +++ b/src/video_engine/test/auto_test/source/vie_autotest_rtp_rtcp.cc @@ -418,7 +418,7 @@ void ViEAutoTest::ViERtpRtcpExtendedTest() unsigned char subType = 3; unsigned int name = static_cast (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(