annotate libpst.pc.in @ 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 9bbc834d5f3e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
95
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
1 prefix=@prefix@
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
2 exec_prefix=@exec_prefix@
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
3 libdir=@libdir@
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
4 includedir=@includedir@
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
5
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
6 Name: libpst
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
7 Description: A library for reading PST files
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
8 Version: @VERSION@
174
9bbc834d5f3e new debianization from hggdh
Carl Byington <carl@five-ten-sg.com>
parents: 95
diff changeset
9 Requires:
95
ff1743cbe4aa initial attempt at building a shared library
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
10 Libs: -L${libdir} -lpst
174
9bbc834d5f3e new debianization from hggdh
Carl Byington <carl@five-ten-sg.com>
parents: 95
diff changeset
11 Cflags: -I${includedir}/libpst-@LIBPST_SO_MAJOR@