Skip to content
Snippets Groups Projects
  1. Jun 22, 2020
  2. Jun 20, 2020
    • scott snyder's avatar
      InDetTrackHoleSearch: cmake fixes · db3cb731
      scott snyder authored
          
      Library dependency fixes.
      db3cb731
    • scott snyder's avatar
      MagFieldServices: Clean up conditions dependency. · 78589ae4
      scott snyder authored
      Don't declare a dependency on the DCS conditions folder if we're
      not going to use it.
      78589ae4
    • scott snyder's avatar
      PixelConditionsAlgorithms: Clean up conditions dependencies. · 115d4db6
      scott snyder authored
      Don't declare a conditions dependency that we won't use.
      115d4db6
    • scott snyder's avatar
      CxxUtils: Suppress cppcheck warning. · 9d7b7dec
      scott snyder authored
      Suppress new warning from cppcheck 2.0.
      9d7b7dec
    • scott snyder's avatar
      StoreGate: Fix cppcheck warnings. · b8699a04
      scott snyder authored
       - Move DataHandle comparison functions inline.
       - Don't pass large objects by value.
       
      b8699a04
    • scott snyder's avatar
      AthenaPoolCnvSvc: cppcheck fixes · 9400666e
      scott snyder authored
       - Use starts_with instead of find()==0.
       - Use prefix ++ rather than postfix.
       
      9400666e
    • scott snyder's avatar
      SGTools: Fix cppcheck warning. · 5c77e289
      scott snyder authored
      Annotate throw function as noreturn.
      5c77e289
    • scott snyder's avatar
      SGComps: Fix cppcheck warnings. · c33d3dff
      scott snyder authored
       - Parameter name ordering mismatch.
       - Use preincrement rather than postincrement.
       
      c33d3dff
    • scott snyder's avatar
      PyUtils: Fix use of deprecated pyroot syntax. · e054c5c0
      scott snyder authored
      Should now use [], not (), to supply template parameters.
      e054c5c0
    • scott snyder's avatar
      IOVSvc: Fix refcounting bug in createCondObj · a2cb9afe
      scott snyder authored
      CondAttrListCollection is a DataObject with a reference count.
      CondAttrListCollAddress holds an instance of CondAttrListCollection
      and manages its reference count.
      
      However, what createCondObj does is to take the address, get the
      DataBucket from the address, take control of the underlying
      object via relinquish, and then store the underlying object
      in the CondCont.  CondCont then takes ownership of the object,
      and it doesn't know about refcounting.  Then finally the address
      is deleted.  Normally this works ok even for CondAttrListCollection,
      since when we get the object from the address the refcount
      is incremented.  Deleting the address will then just decrement
      the reference count again, and the CondCont is left as the
      only owner of the object.
      
      But the range being inserted entirely overlaps with an existing range,
      then CondCont will delete the object rather than inserting it.
      In that case, when we try to delete the object, it tries to
      decrement the object's refcount using a dangling reference 
      to the deleted object, which can crash.
      
      Fix this by making sure that the address is deleted before
      we try to add the object to the CondCont.
      a2cb9afe
  3. Jun 19, 2020
Loading