Uploaded image for project: 'Hot Rod Native client'
  1. Hot Rod Native client
  2. HRCPP-10

Simple.cpp test does not check return value for non-null value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 6.0.0.Alpha1
    • None
    • None
    • Hide

      Run in any environment where what is being tested fails. Returned pointer value is supplied to string::compare without prior check it is non-null.

      Show
      Run in any environment where what is being tested fails. Returned pointer value is supplied to string::compare without prior check it is non-null.

    Description

      Can see null ptr exception KERN_INVALID_ADDRESS at address: 0x0000000000000000
      #0 0x00007fff98c628b1 in std::string::compare ()
      #1 0x00000001000025b6 in main ()

      Attachments

        Activity

          People

            ttarrant@redhat.com Tristan Tarrant
            cjansen@redhat.com Cliff Jansen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: