History

fix low memory crash issue

wayne committed 7 years ago

Commit d58148c1 parent 9a815399 files · +38 −24Browse files

Showing the changes to test/encoder/EncUT_InterfaceTest.cpp (1 of 9 files). Show all

Unified · Split

test/encoder/EncUT_InterfaceTest.cpp+1−1
@@ -68,7 +68,7 @@ TEST_F (EncInterfaceCallTest, SetOptionLTR) { · 67 unmodified lines
6868
6969 BufferedData buf;
7070 buf.SetLength (frameSize);
71− ASSERT_TRUE (buf.Length() == (size_t)frameSize);
71+ ASSERT_TRUE (buf.Length() == (size_t)frameSize); //include memory fail (-1) case
7272
7373 SFrameBSInfo info;
7474 memset (&info, 0, sizeof (SFrameBSInfo));

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t