[libbluray-devel] Add missing check for inline file

Petri Hintukainen git at videolan.org
Sun Jun 11 16:42:45 CEST 2017


libudfread | branch: master | Petri Hintukainen <phintuka at gmail.com> | Sun Jun 11 17:29:07 2017 +0300| [c88371c3be8f2c35234e62f1d86cf9b3168dc06d] | committer: Petri Hintukainen

Add missing check for inline file

> http://git.videolan.org/gitweb.cgi/libudfread.git/?a=commit;h=c88371c3be8f2c35234e62f1d86cf9b3168dc06d
---

 src/udfread.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/udfread.c b/src/udfread.c
index 5d3bedf..173cddf 100644
--- a/src/udfread.c
+++ b/src/udfread.c
@@ -845,7 +845,7 @@ static struct file_entry *_read_file_entry(udfread *udf,
     free(buf);
 
     /* read possible additional allocation extents */
-    if (fe) {
+    if (fe && !fe->content_inline) {
         while (fe->u.ads.num_ad > 0 &&
                fe->u.ads.ad[fe->u.ads.num_ad - 1].extent_type == ECMA_AD_EXTENT_AD) {
 



More information about the libbluray-devel mailing list