SR-5596: TimeZone.current returns wrong value
SR-5596: TimeZone.current returns wrong value

- The length passed to CFStringCreateWithBytes() included an extra
  random byte after the NUL. This meant the string was sometimes
  interpreted as non-ASCII (if the byte was >= 0x80) and the
  timezone would come back as NULL thus defaulting to GMT.

mattrajca/swift-corelibs-foundation,amraboelela/swift-corelibs-foundation,parkera/swift-corelibs-foundation,johnno1962e/swift-corelibs-foundation,parkera/swift-corelibs-foundation,johnno1962c/swift-corelibs-foundation,ikesyo/swift-corelibs-foundation,JGiola/swift-corelibs-foundation,mattrajca/swift-corelibs-foundation,amraboelela/swift-corelibs-foundation,bolshedvorsky/swift-corelibs-foundation,amosavian/swift-corelibs-foundation,amosavian/swift-corelibs-foundation,alblue/swift-corelibs-foundation,alblue/swift-corelibs-foundation,ikesyo/swift-corelibs-foundation,johnno1962c/swift-corelibs-foundation,e78l/swift-corelibs-foundation,parkera/swift-corelibs-foundation,johnno1962e/swift-corelibs-foundation,JGiola/swift-corelibs-foundation,ikesyo/swift-corelibs-foundation,amraboelela/swift-corelibs-foundation,e78l/swift-corelibs-foundation,apple/swift-corelibs-foundation,JGiola/swift-corelibs-foundation,JGiola/swift-corelibs-foundation,apple/swift-corelibs-foundation,amosavian/swift-corelibs-foundation,amraboelela/swift-corelibs-foundation,johnno1962e/swift-corelibs-foundation,amosavian/swift-corelibs-foundation,johnno1962c/swift-corelibs-foundation,apple/swift-corelibs-foundation,alblue/swift-corelibs-foundation,amraboelela/swift-corelibs-foundation,mattrajca/swift-corelibs-foundation,ikesyo/swift-corelibs-foundation,JGiola/swift-corelibs-foundation,apple/swift-corelibs-foundation,parkera/swift-corelibs-foundation,mattrajca/swift-corelibs-foundation,e78l/swift-corelibs-foundation,bolshedvorsky/swift-corelibs-foundation,johnno1962e/swift-corelibs-foundation,johnno1962c/swift-corelibs-foundation,bolshedvorsky/swift-corelibs-foundation,johnno1962b/swift-corelibs-foundation,johnno1962b/swift-corelibs-foundation,johnno1962b/swift-corelibs-foundation,mattrajca/swift-corelibs-foundation,parkera/swift-corelibs-foundation,johnno1962e/swift-corelibs-foundation,johnno1962b/swift-corelibs-foundation,apple/swift-corelibs-foundation,amosavian/swift-corelibs-foundation,alblue/swift-corelibs-foundation,ikesyo/swift-corelibs-foundation,bolshedvorsky/swift-corelibs-foundation,e78l/swift-corelibs-foundation,alblue/swift-corelibs-foundation,johnno1962c/swift-corelibs-foundation,johnno1962b/swift-corelibs-foundation,bolshedvorsky/swift-corelibs-foundation,e78l/swift-corelibs-foundation