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

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

XMLWordPrintable

    • b06
    • windows

        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().

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

                Created:
                Updated:
                Resolved: