﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
144	decoder crashes on empty input file	davidf	davidf	"performing:
{{{
$ rm out.bit; touch out.bit
$ ./jctvc-tmuc-dec --BitstreamFile=out.bit
}}}

causes:
{{{
==13135== Use of uninitialised value of size 8
==13135==    at 0x428A7A: TComPic::getPicSym() (TComPic.h:78)
==13135==    by 0x466B72: TDecTop::executeDeblockAndAlf(bool, TComBitstream*, unsigned int&, TComList<TComPic*>*&, int&, int&) (TDecTop.cpp:183)
==13135==    by 0x4051E5: TAppDecTop::decode() (TAppDecTop.cpp:119)
==13135==    by 0x402B0F: main (decmain.cpp:76)
==13135== 
==13135== 
==13135== ---- Attach to debugger ? --- [Return/N/n/Y/y/C/c] ---- n
==13135== Invalid read of size 8
==13135==    at 0x40598D: TComPicSym::getSlice(unsigned int) (TComPicSym.h:78)
==13135==    by 0x466B7C: TDecTop::executeDeblockAndAlf(bool, TComBitstream*, unsigned int&, TComList<TComPic*>*&, int&, int&) (TDecTop.cpp:183)
==13135==    by 0x4051E5: TAppDecTop::decode() (TAppDecTop.cpp:119)
==13135==    by 0x402B0F: main (decmain.cpp:76)
==13135==  Address 0x9691aa5 is not stack'd, malloc'd or (recently) free'd
==13135== 
==13135== 
==13135== ---- Attach to debugger ? --- [Return/N/n/Y/y/C/c] ---- n
==13135== 
==13135== Process terminating with default action of signal 11 (SIGSEGV)
==13135==  Access not within mapped region at address 0x9691AA5
==13135==    at 0x40598D: TComPicSym::getSlice(unsigned int) (TComPicSym.h:78)
==13135==    by 0x466B7C: TDecTop::executeDeblockAndAlf(bool, TComBitstream*, unsigned int&, TComList<TComPic*>*&, int&, int&) (TDecTop.cpp:183)
==13135==    by 0x4051E5: TAppDecTop::decode() (TAppDecTop.cpp:119)
==13135==    by 0x402B0F: main (decmain.cpp:76)
}}}"	defect	closed	minor	HM-3.1	HM	HM-3.0	fixed		fbossen ksuehring davidf jct-vc@…
