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

merge_stack in check_code.c add NULL check

XMLWordPrintable

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

      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 .

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

              Created:
              Updated:
              Resolved: