Opened 5 years ago
Closed 5 years ago
#560 closed defect (fixed)
RPR - Use of reference picture PPS pointers
Reported by: | bheng | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | VTM-7.0 |
Component: | VTM | Version: | VTM-6.1 |
Keywords: | Cc: | ksuehring, XiangLi, fbossen, jvet@… |
Description
In several places, the RPR code accesses the PPS of the reference picture with code such as the following:
refPic->cs->pps->gePicWidthInLumaSamples()
Unfortunately, these PPS pointers are not safe. Specifically, if the reference picture's PPS ID is reused in the interim, these pps-> pointers point to garbage values. This can crash the decoder.
I would recommend that all of the values used by RPR (width, height, cropping window) be stored with the refPic itself, rather than relying on these PPS pointers, which can be invalid.
Change history (2)
comment:1 Changed 5 years ago by bheng
comment:2 Changed 5 years ago by XiangLi
- Milestone set to VTM-7.0
- Resolution set to fixed
- Status changed from new to closed
Note: See TracTickets for help on using tickets.
Potential fixes for this issue are available in the following merge request:
https://vcgit.hhi.fraunhofer.de/jvet/VVCSoftware_VTM/merge_requests/997