[PATCH] fdo#52639: ServiceManager: check isDisposed():

Gerrit gerrit at gerrit.libreoffice.org
Tue Aug 7 13:27:26 PDT 2012


>From Michael Stahl <mstahl at redhat.com>:

Michael Stahl has uploaded a new change for review.

Change subject: fdo#52639: ServiceManager: check isDisposed():
......................................................................

fdo#52639: ServiceManager: check isDisposed():

It is apparently possible that during clearing the various maps in
ServiceManager::disposing() calls into method like
ServiceManager::createInstance* happen that then crash when iterating
through those maps; check isDisposing() in findServiceImplementation()
to fix that, plus some other places also seem to miss a check.

Change-Id: I473dd1824ee0cf8c4baddc027f86cf51fb0d3517
---
M cppuhelper/source/defaultbootstrap.cxx
1 file changed, 14 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/76/376/1
--
To view, visit https://gerrit.libreoffice.org/376
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I473dd1824ee0cf8c4baddc027f86cf51fb0d3517
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Michael Stahl <mstahl at redhat.com>



More information about the LibreOffice mailing list