Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-9146

GetListOfFunctionOverloads() is broken

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: master
    • Fix Version/s: 6.14/00
    • Component/s: Core Libraries
    • Labels:
      None
    • Environment:

      all (linux)

      Description

      All it takes:

      root [0] gROOT->GetListOfFunctionOverloads("aap")
       
       *** Break *** segmentation violation

      Reason is the cast to TListOfFunctions* of fFunctions, and the subsequent dereference as fFunctions is just a humble TList:

         fFunctions   = setNameLocked(new TList, "Functions");
      // ...
         return ((TListOfFunctions*)fFunctions)->GetListForObject(name);

        Attachments

          Activity

            People

            Assignee:
            pcanal Philippe Canal
            Reporter:
            wlav Wim Lavrijsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Actual End: