Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8266918

merge_stack in check_code.c add NULL check

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 17
    • 17
    • core-libs
    • None
    • b26
    • generic
    • generic

    Description

      Sonar reports a potential NULL pointer dereference here :
      https://sonarcloud.io/project/issues?id=shipilev_jdk&languages=c&open=AXck8CPLBBG2CXpcnh_z&resolved=false&severities=MAJOR&types=BUG
      "Access to field 'item' results in a dereference of a null pointer (loaded from variable 'new')"
      It would be better to add a check .

      Attachments

        Issue Links

          Activity

            People

              mbaesken Matthias Baesken
              mbaesken Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: