[libbluray-devel] Log fragmented directory files
Petri Hintukainen
git at videolan.org
Fri Jun 9 12:33:47 CEST 2017
libudfread | branch: master | Petri Hintukainen <phintuka at gmail.com> | Wed Jun 7 23:09:57 2017 +0300| [90aa497602b8c12b108f0d917c849cbe499e4367] | committer: Petri Hintukainen
Log fragmented directory files
> http://git.videolan.org/gitweb.cgi/libudfread.git/?a=commit;h=90aa497602b8c12b108f0d917c849cbe499e4367
---
src/udfread.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/udfread.c b/src/udfread.c
index 67fec88..816caeb 100644
--- a/src/udfread.c
+++ b/src/udfread.c
@@ -972,6 +972,9 @@ static struct udf_dir *_read_dir(udfread *udf, const struct long_ad *icb)
} else if (fe->u.ads.num_ad == 0) {
udf_error("empty directory file");
} else {
+ if (fe->u.ads.num_ad > 1) {
+ udf_error("unsupported fragmented directory file\n");
+ }
dir = _read_dir_file(udf, &fe->u.ads.ad[0]);
}
More information about the libbluray-devel
mailing list