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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
1 include $(top_srcdir)/misc/Makefile.common
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
2
15
7b2a843accd9 Rename includedir to $prefix/include/dvdread to remain API-compatible
rathann
parents: 5
diff changeset
3 includedir = ${prefix}/include/dvdread
3
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
4
5
5f0f78aac041 fixed building with autoshit
nicodvb
parents: 3
diff changeset
5 AM_CPPFLAGS = -I$(top_srcdir)/src
3
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
6
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
7 lib_LTLIBRARIES = libdvdread.la
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
8
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
9 libdvdread_la_SOURCES = dvd_reader.c nav_read.c ifo_read.c \
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
10 dvd_input.c dvd_udf.c md5.c nav_print.c ifo_print.c bitreader.c \
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
11 bswap.h dvd_input.h dvdread_internal.h dvd_udf.h md5.h bitreader.h
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
12
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
13 libdvdread_la_LIBADD = $(DYNAMIC_LD_LIBS)
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
14
5
5f0f78aac041 fixed building with autoshit
nicodvb
parents: 3
diff changeset
15 libdvdread_la_LDFLAGS = -version-info $(DVDREAD_LT_CURRENT):$(DVDREAD_LT_REVISION):$(DVDREAD_LT_AGE) \
3
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
16 -export-symbols-regex "(^dvd.*|^nav.*|^ifo.*|^DVD.*|^UDF.*)"
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
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