[LLVMbugs] [Bug 1712] New: Null pointer dereference in SelectionDAGLowering

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Sep 28 12:50:52 PDT 2007


           Summary: Null pointer dereference in SelectionDAGLowering
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Archive library
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: ddunbar at stanford.edu
                CC: llvmbugs at cs.uiuc.edu

Around lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp : 2987
SelectionDAGLowering::visitCall calls Function::getNameLen without first
checking if the function name is non-null. It seems reasonable to just have
getNameLen return 0 if the name is null but if this is not the appropriate fix
then visitCall should check name for null first.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list