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

Unterminated string passed to FindClass() in hotspot test

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • hotspot
    • b20

      A hotspot test (test/hotspot/jtreg/runtime/jni/FindClassUtf8/libFindClassUtf8.c) uses an unterminated character string as the class name argument to FindClass():

          const uint64_t chars = 0x5b3132315d20f818UL; // f8 is invalid utf8

          jclass badClass = (*env)->FindClass(env, (const char*)&chars);

            hseigel Harold Seigel (Inactive)
            vprovodin Vitaly Provodin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: