diff options
author | Tushar Bende <tushar.bende@synerzip.com> | 2014-06-04 15:04:18 +0530 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-05 08:29:16 +0000 |
commit | 8fcd4bf323bc3390e366229d549641444b5a3e9a (patch) | |
tree | 34a054c6023b7ad4f619a5bebcce6fb64a21fce4 /include/vcl | |
parent | d595e5ec4e092344460f53d287b970c147913e99 (diff) |
fdo#79535 :LO writer crash while Opening some document.
Problem Description : While setting ExtraData for Redline LO calls SwRangeRedline::SetExtraData() with
argument of type SwRedlineExtraData_FormattingChanges* which contains SfxItemSet*
In function SwRedlineExtraData_FormattingChanges() without Null checking SfxItemSet*,
LO was trying to get rCpy.pSet->Count() which was the reason for segmentation fault
while opening some documents in LO.
Added Null check before accessing a pointer.
Change-Id: I33299d2be2777ab6a8af0621595c9453145f1069
Reviewed-on: https://gerrit.libreoffice.org/9647
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl')
0 files changed, 0 insertions, 0 deletions