Author: rathann Date: Sun Nov 17 01:16:02 2013 New Revision: 1287 Log: Clear pf_temp to make sure it is initialized
Patch by Erik Hovland <[email protected]> Modified: trunk/libdvdread/src/ifo_read.c Modified: trunk/libdvdread/src/ifo_read.c ============================================================================== --- trunk/libdvdread/src/ifo_read.c Sun Nov 17 01:09:44 2013 (r1286) +++ trunk/libdvdread/src/ifo_read.c Sun Nov 17 01:16:02 2013 (r1287) @@ -1385,6 +1385,7 @@ int ifoRead_PTL_MAIT(ifo_handle_t *ifofi ifofile->ptl_mait = NULL; return 0; } + memset(pf_temp, 0, info_length); if(!(DVDReadBytes(ifofile->file, pf_temp, info_length))) { fprintf(stderr, "libdvdread: Unable to read PTL_MAIT table at index %d.\n",i); free(pf_temp); _______________________________________________ DVDnav-discuss mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss
