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

Replace strtok() with its safe equivalent strtok_s() in DefaultProxySelector.c

    XMLWordPrintable

Details

    • b06
    • windows

    Backports

      Description

        In the file ./windows/native/sun/net/spi/DefaultProxySelector.c
        strtok() is used to parse a string.
        This can potentially cause a problem, as this function isn't thread-safe.

        It should be replaced with strtok_s().

        Attachments

          Issue Links

            Activity

              People

                igerasim Ivan Gerasimov
                igerasim Ivan Gerasimov
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: