Opened 3 years ago

#1513 new defect

TAppEncoder crashing bug

Reported by: AllenWang Owned by:
Priority: critical Milestone:
Component: HM SCC Version: v5 (02/2018)
Keywords: Cc: jvet@…

Description

I found a bug which will cause the encoder application crash in HM-16.12+SCM-8.3. And I also checked the source codes in the highest version HM-16.20+SCM-8.8, This bug also exists in it.
The bug is : a variable names m_uiNumBV16s is not initialized in the function TEncSearch::init in the file TEncSearch.cpp, which will cause an invalid address accessing in function TEncSearch::xIntraPatternSearch, see below source codes, thereby case the application crash issue.
Void TEncSearch::xIntraPatternSearch(...)
{
...

else if (iRoiWidth+iRoiHeight==16)
{

m_uiNumBVs = m_uiNumBV16s;

}

...
}
And we can initialize it to 0 in the function TEncSearch::init to fix it.
Void TEncSearch::init(...)
{
...

m_uiNumBV16s = 0;

...
}

Change History (0)

Note: See TracTickets for help on using tickets.

This list contains all users that will be notified about changes made to this ticket.

These roles will be notified: Reporter, Owner, Subscriber, Participant

  • AllenWang(Reporter)
  • jvet@…(Subscriber)
  • karl.sharman@…(Always)
  • Karsten Suehring(Always)