﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1513	TAppEncoder crashing bug	AllenWang		"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;
...
}"	defect	new	critical		HM SCC	v5 (02/2018)			jvet@…
