Mercurial > libdvdread4.hg
annotate Makefile.am @ 76:677e09255a1c src
This patch fixes a segmentation fault hit when reading the DVD 'The
Express'. It prevents a read/write beyond end of an array due to using
a length value taken from the DVD, which can exceed the allocated size.
https://bugs.launchpad.net/ubuntu/+source/libdvdread/+bug/894170
The patch was originally written by rickyrockrat (sorry, I don't have
his email address) for 4.1.3. I got the DVD and reproduced the segfault
using 4.2.0 and verified the patch stops the segfault from happening.
We're not confident this is the best fix though, so are posting it here
for review.
Signed-off-by: Bryce Harrington <bryce@canonical.com>
author | rathann |
---|---|
date | Sun, 09 Dec 2012 22:03:38 +0000 |
parents | c743d79f187b |
children |
rev | line source |
---|---|
3 | 1 include $(top_srcdir)/misc/Makefile.common |
2 | |
15
7b2a843accd9
Rename includedir to $prefix/include/dvdread to remain API-compatible
rathann
parents:
5
diff
changeset
|
3 includedir = ${prefix}/include/dvdread |
3 | 4 |
5 | 5 AM_CPPFLAGS = -I$(top_srcdir)/src |
3 | 6 |
7 lib_LTLIBRARIES = libdvdread.la | |
8 | |
9 libdvdread_la_SOURCES = dvd_reader.c nav_read.c ifo_read.c \ | |
10 dvd_input.c dvd_udf.c md5.c nav_print.c ifo_print.c bitreader.c \ | |
11 bswap.h dvd_input.h dvdread_internal.h dvd_udf.h md5.h bitreader.h | |
12 | |
13 libdvdread_la_LIBADD = $(DYNAMIC_LD_LIBS) | |
14 | |
5 | 15 libdvdread_la_LDFLAGS = -version-info $(DVDREAD_LT_CURRENT):$(DVDREAD_LT_REVISION):$(DVDREAD_LT_AGE) \ |
3 | 16 -export-symbols-regex "(^dvd.*|^nav.*|^ifo.*|^DVD.*|^UDF.*)" |
17 | |
33
c743d79f187b
Move installed headers into dvdread directory to make them easier to
reimar
parents:
15
diff
changeset
|
18 include_HEADERS = dvdread/dvd_reader.h dvdread/nav_read.h dvdread/ifo_read.h \ |
c743d79f187b
Move installed headers into dvdread directory to make them easier to
reimar
parents:
15
diff
changeset
|
19 dvdread/nav_print.h dvdread/ifo_print.h dvdread/ifo_types.h dvdread/nav_types.h dvdread/dvd_udf.h dvdread/bitreader.h |