~siretart/xine-lib/ubuntu

« back to all changes in this revision

Viewing changes to src/input/libdvdnav/dvdnav.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-12-15 13:13:45 UTC
  • mfrom: (0.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051215131345-8n4osv1j7fy9c1s1
* SECURITY UPDATE: Fix arbitrary code execution with crafted PNG images in
  embedded ffmpeg copy.
* src/libffmpeg/libavcodec/utils.c, avcodec_default_get_buffer(): Apply
  upstream patch to fix buffer overflow on decoding of small PIX_FMT_PAL8
  PNG files.
* References:
  CVE-2005-4048
  http://mplayerhq.hu/pipermail/ffmpeg-devel/2005-November/005333.html
  http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/ffmpeg/libavcodec/
  utils.c.diff?r1=1.161&r2=1.162&cvsroot=FFMpeg

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 * along with this program; if not, write to the Free Software
18
18
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
19
19
 *
20
 
 * $Id: dvdnav.c,v 1.33 2004/12/20 19:27:20 mroi Exp $
 
20
 * $Id: dvdnav.c,v 1.34 2005/10/15 14:04:05 jcdutton Exp $
21
21
 *
22
22
 */
23
23
 
203
203
}
204
204
 
205
205
/* converts a dvd_time_t to PTS ticks */
206
 
static int64_t dvdnav_convert_time(dvd_time_t *time) {
 
206
int64_t dvdnav_convert_time(dvd_time_t *time) {
207
207
  int64_t result;
208
208
  int64_t frames;
209
209