a9b8d97d09
-avoid file descriptor leak -advance buffer pointer correctly on short reads from an unnamed contributor add limit check to real parser (CVE-2006-6172) from mplayer svn bump PKGREVISION
12 lines
339 B
Text
12 lines
339 B
Text
$NetBSD: patch-eb,v 1.1 2007/01/09 14:46:31 drochner Exp $
|
|
|
|
--- src/input/libdvdnav/dvd_input.c.orig 2007-01-09 00:03:58.000000000 +0100
|
|
+++ src/input/libdvdnav/dvd_input.c
|
|
@@ -319,6 +319,7 @@ static int file_read(dvd_input_t dev, vo
|
|
return (int) (bytes / DVD_VIDEO_LB_LEN);
|
|
}
|
|
|
|
+ buffer += ret;
|
|
len -= ret;
|
|
}
|
|
|