Mercurial > libpst
view python/Makefile.am @ 359:a3e674fade6c
From Jeffrey Morlan:
pst_parse_block misreads Table Contexts (aka "type 2") with a
multi-block Row Matrix ("ind2"). Rows are never split between blocks -
every block except the last has padding at the end which should be
ignored. I've only seen this affect the recipients table, but
presumably it could affect attachments too. This was causing
out-of-bounds memory ranges to be returned from pst_getBlockOffset and
later access; patch fixes both the table reading issue and adds a
missing bounds check to pst_getBlockOffset (so as not to risk a
segfault if the PST is corrupted).
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 06 Jul 2016 10:20:12 -0700 |
parents | 5b3e7661adad |
children |
line wrap: on
line source
if PYTHON_INTERFACE if PLATFORM_WIN32 NO_UNDEFINED = -no-undefined else NO_UNDEFINED = endif pythonlibdir = $(libdir)/@PYTHON_VERSION@/site-packages pythonlib_LTLIBRARIES = _libpst.la _libpst_la_LDFLAGS = -module $(NO_UNDEFINED) -avoid-version _libpst_la_SOURCES = python-libpst.cpp _libpst_la_LIBADD = -l@BOOST_PYTHON_LIB@ ../src/libpst.la # set the include path found by configure INCLUDES= -I$(srcdir)/.. -I$(srcdir)/../src $(all_includes) -I$(PYTHON_INCLUDE_DIR) endif