mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #1229, fix the security risk in HDS. 3.0.69
This commit is contained in:
parent
35e0ec27ed
commit
ad70589347
3 changed files with 10 additions and 2 deletions
|
@ -64,3 +64,9 @@ VOID TEST(CoreMacroseTest, Check)
|
|||
#endif
|
||||
}
|
||||
|
||||
VOID TEST(CoreLogger, CheckVsnprintf)
|
||||
{
|
||||
char buf[1024];
|
||||
EXPECT_EQ(6, sprintf(buf, "%s", "Hello!"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue