[all-commits] [llvm/llvm-project] 6f28ee: [libc] Fixed StringConverter Error Edge Case (#149...

Uzair Nawaz via All-commits all-commits at lists.llvm.org
Thu Jul 17 10:32:32 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f28eec6dc68c64ebe108be3fdb7d0affb1e3349
      https://github.com/llvm/llvm-project/commit/6f28eec6dc68c64ebe108be3fdb7d0affb1e3349
  Author: Uzair Nawaz <uzairnawaz at google.com>
  Date:   2025-07-17 (Thu, 17 Jul 2025)

  Changed paths:
    M libc/src/__support/wchar/string_converter.h
    M libc/test/src/__support/wchar/string_converter_test.cpp

  Log Message:
  -----------
  [libc] Fixed StringConverter Error Edge Case (#149356)

Fixed StringConverter edge case related to destination limit

If we call pop() but there is no space in the dest array, we should
always return the "no space in destination" error even if the following
character is invalid (since we shouldn't really have to look at the next
character)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list