Opened 6 years ago
Closed 6 years ago
#149 closed defect (fixed)
CPR and reference picture reordering crashes decoder
Reported by: | bheng | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | VTM-4.0 |
Component: | VTM | Version: | VTM-3.0 |
Keywords: | Cc: | ksuehring, XiangLi, fbossen, jvet@… |
Description
In Slice.cpp, when function getNumRpsCurrTempList( ) is called during slice header parsing (for reference picture reordering), the SPS has not yet been activated or assigned to the slice yet.
Therefore, the code:
getSPS()->getSpsNext().getCPRMode()
will attempt to access a NULL pointer to the SPS and crash.
Change history (3)
comment:1 Changed 6 years ago by fbossen
- Milestone set to VTM-4.0
comment:2 Changed 6 years ago by bheng
comment:3 Changed 6 years ago by bheng
- Resolution set to fixed
- Status changed from new to closed
Note: See TracTickets for help on using tickets.
One possible fix has been provided in:
https://vcgit.hhi.fraunhofer.de/jvet/VVCSoftware_VTM/merge_requests/283