[Libreoffice] [REVIEW] Crasher fix for fdo#37252

Kohei Yoshida kohei.yoshida at gmail.com
Tue May 17 18:09:41 PDT 2011

The attached patch fixes a crasher reported in


The original code always assumed that the find call on the map
container always finds a match (as it didn't check against the end
iterator after the call returns), but apparently in some cases no
match can be found.  The attached patch simply checks for the end
iterator position, and if no match is found, it simply returns right

I'd like to commit this into the 3.4 branch and the 3.4.0 branch as
well (if we've already branched).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fdo-37252-Don-t-assume-you-ll-always-find-a-match.patch
Type: application/octet-stream
Size: 1335 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110517/c730a083/attachment.obj>

More information about the LibreOffice mailing list