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

C string terminator checks should use '\0' instead of 0

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P5 P5
    • 7
    • 6
    • hotspot
    • None
    • generic
    • generic

      Hotspot C/C++ string manipulation code should use '\0' instead of 0 when checking for termination values. '\0' is the official character string terminator and is also of type char, where 0 is not.

            ikrylov Ivan Krylov (Inactive)
            sbohne Steve Bohne (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: