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

Missing null pointer check in InterpreterRuntime::update_mdp_for_ret()

XMLWordPrintable

    • b21

        MethodData::data_at(int data_index) may return NULL if the data_index is out of bounds but the code in InterpreterRuntime::update_mdp_for_ret() does not check for NULL:

          ProfileData* data = h_mdo->data_at(h_mdo->dp_to_di(fr.interpreter_frame_mdp()));
          RetData* rdata = data->as_RetData();

              thartmann Tobias Hartmann
              thartmann Tobias Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: