summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-02-17 15:52:39 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-17 16:24:05 +0000
commitd6b28f0bfe5df0248b18e306c3144282f052c7f0 (patch)
tree1e738ef01dd9027f76c2cdd074ec55ea63b339e0
parent3744d8506ef231d642785faf6da4926cea64c6a0 (diff)
asan: failure to load tdf#55620 attachment under asan
still loops in layout though how am I *still* finding bugs in this thing Change-Id: I048595956516b9acfc60e90c64180b904d6cc1d7
-rw-r--r--sw/source/filter/ww8/ww8scan.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx
index d07d9ee745a8..22d93f1e8aa1 100644
--- a/sw/source/filter/ww8/ww8scan.cxx
+++ b/sw/source/filter/ww8/ww8scan.cxx
@@ -5213,6 +5213,7 @@ void WW8PLCFxDesc::Restore( const WW8PLCFxSave1& rSave )
pPLCFx->SetDirty(false);
aD.ReduceByOffset();
pMemPos = aD.pMemPos + rSave.nPLCFxMemOfs;
+ nSprmsLen = nOrigSprmsLen - rSave.nPLCFxMemOfs;
}
}
}