diff options
author | Damiano Galassi <[email protected]> | 2020-01-04 09:54:46 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2020-01-04 09:57:21 +0100 |
commit | ab56c8de1c56fd8dea2046c7987b6bb1c1efc43b (patch) | |
tree | 08555c4e7653f4cdb2f8990acf661a1523ddb629 | |
parent | a79e5e487717e39a9a054cf7643891a6331d6920 (diff) |
dvdnav: fix a potential uninitialised memory read.
(cherry picked from commit 008578595a6c5415d0632d2d928e074e7b9421b4)
-rw-r--r-- | libhb/dvdnav.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/dvdnav.c b/libhb/dvdnav.c index b9ad5cd63..9940bfdbf 100644 --- a/libhb/dvdnav.c +++ b/libhb/dvdnav.c @@ -2090,7 +2090,7 @@ static int TitleOpenIfo(hb_dvdnav_t * d, int t) /* Check pgc */ if ( d->pgcn < 1 || d->pgcn > d->ifo->vts_pgcit->nr_of_pgci_srp || d->pgcn >= MAX_PGCN) { - hb_log( "invalid PGC ID %d for title %d, skipping", pgcn, t ); + hb_log( "invalid PGC ID %d for title %d, skipping", d->pgcn, t ); goto fail; } |