Skip to content
Snippets Groups Projects

THistSvc: protect against dereferencing invalid iterator.

  1. Apr 19, 2017
    • scott snyder's avatar
      THistSvc: protect against dereferencing invalid iterator. · 1391d46c
      scott snyder authored
      In regHist_i, if the stream is not found in m_files, then the end iterator
      for the map could be dereferenced.  List was causing warnings from the
      undefined behavior sanitized running RecExCommon/myTopOptions.py.
      
      Protect against this case.
      1391d46c
Loading