MuonHoughPatternTools: Avoid use-after-free error.
A MuonLayerHough::Maximum object has a pointer to a MuonLayerHough object. The latter lives in a temporary State object. The Maximum objects, however, can end up being entered in a vector and recorded in SG. In such a case, the State objects can then be deleted. leaving dangling pointers in the Maximum objects. This has not been observed to cause crashes; instead, it just occasionally gives wrong results.
Showing
- MuonSpectrometer/MuonReconstruction/MuonPatternFinders/MuonPatternFinderTools/MuonHoughPatternTools/MuonHoughPatternTools/HoughDataPerSec.h 8 additions, 2 deletions...HoughPatternTools/MuonHoughPatternTools/HoughDataPerSec.h
- MuonSpectrometer/MuonReconstruction/MuonPatternFinders/MuonPatternFinderTools/MuonHoughPatternTools/MuonHoughPatternTools/MuonHoughPatternFinderTool.h 1 addition, 1 deletion...nTools/MuonHoughPatternTools/MuonHoughPatternFinderTool.h
- MuonSpectrometer/MuonReconstruction/MuonPatternFinders/MuonPatternFinderTools/MuonHoughPatternTools/MuonHoughPatternTools/MuonLayerHoughTool.h 3 additions, 2 deletions...ghPatternTools/MuonHoughPatternTools/MuonLayerHoughTool.h
- MuonSpectrometer/MuonReconstruction/MuonPatternFinders/MuonPatternFinderTools/MuonHoughPatternTools/src/MuonHoughPatternFinderTool.cxx 1 addition, 1 deletion.../MuonHoughPatternTools/src/MuonHoughPatternFinderTool.cxx
- MuonSpectrometer/MuonReconstruction/MuonRecTools/MuonRecToolInterfaces/MuonRecToolInterfaces/IMuonHoughPatternFinderTool.h 1 addition, 1 deletion...faces/MuonRecToolInterfaces/IMuonHoughPatternFinderTool.h
- MuonSpectrometer/MuonReconstruction/MuonSegmentCombiners/MuonSegmentCombinerTools/MooSegmentCombinationFinder/src/MooSegmentFinderAlg.cxx 1 addition, 1 deletion...s/MooSegmentCombinationFinder/src/MooSegmentFinderAlg.cxx
- MuonSpectrometer/MuonReconstruction/MuonSegmentCombiners/MuonSegmentCombinerTools/MooSegmentCombinationFinder/src/MooSegmentFinderAlg.h 1 addition, 1 deletion...ols/MooSegmentCombinationFinder/src/MooSegmentFinderAlg.h
- MuonSpectrometer/MuonReconstruction/MuonSegmentCombiners/MuonSegmentCombinerTools/MuonSegmentCombinerToolInterfaces/MuonSegmentCombinerToolInterfaces/IMooSegmentCombinationFinder.h 1 addition, 1 deletion...mentCombinerToolInterfaces/IMooSegmentCombinationFinder.h
Loading
Please register or sign in to comment