annotate archive/053.diff @ 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 59bd93d02feb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
177
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
1 diff -r -u libpst-alioth-2008-01-19/trunk/ChangeLog libpst-0.5.3/ChangeLog
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
2 --- libpst-alioth-2008-01-19/trunk/ChangeLog 2008-01-19 10:50:42.000000000 -0800
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
3 +++ libpst-0.5.3/ChangeLog 2008-06-30 20:31:14.000000000 -0700
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
4 @@ -1,4 +1,4 @@
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
5 -LibPST svn snapshot
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
6 +LibPST 0.5.3 (30 June 2008)
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
7 ===============================
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
8
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
9 * Add new fields to appointment for recurring events
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
10 @@ -15,7 +15,7 @@
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
11 * Fix crash when email subject is empty
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
12 * Fix memory and information leak in hex debug dump
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
13
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
14 ---
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
15 +-- Joe Nahmias <joe@nahmias.net>
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
16
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
17 LibPST 0.5.2 (29 December 2006)
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
18 ===============================
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
19 Only in libpst-alioth-2008-01-19/trunk: .svn
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
20 diff -r -u libpst-alioth-2008-01-19/trunk/VERSION libpst-0.5.3/VERSION
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
21 --- libpst-alioth-2008-01-19/trunk/VERSION 2008-01-19 10:50:42.000000000 -0800
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
22 +++ libpst-0.5.3/VERSION 2008-06-30 20:31:14.000000000 -0700
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
23 @@ -1 +1 @@
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
24 -0.5.2+SVN_SNAPSHOT
59bd93d02feb add archive files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
25 +0.5.3