diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2014-12-30 17:39:58 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2014-12-30 17:53:40 +0000 |
commit | dc5383e2fa487a7599f2e317bba409dc3cde8339 (patch) | |
tree | 888c41806e8539778368052bf20af4b2ed6622b5 /sfx2 | |
parent | dcf947534778520bad32167f181b42ef6a451531 (diff) |
fdo#84229 - don't set error when seeking beyond end of valid data.
XclImpStream and elsewhere does an initial seek to the end, then a
tell to work out the true length of the stream. In order to let us
attempt to rescue data from the beginning of otherwise corrupt /
truncated streams, we should avoid setting an error here.
Interestingly, we also (probably) don't want to return the true length
of the valid data - as this is how SotStorage has worked historically.
Change-Id: Ie0ff0e183220b81871ae3bf83980a24b57ac8694
Diffstat (limited to 'sfx2')
0 files changed, 0 insertions, 0 deletions