public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug locale/30964] New: Number grouping check mishandles multibyte thousands separator
@ 2023-10-11 12:44 schwab@linux-m68k.org
  2023-10-12  9:45 ` [Bug locale/30964] " schwab@linux-m68k.org
  0 siblings, 1 reply; 2+ messages in thread
From: schwab@linux-m68k.org @ 2023-10-11 12:44 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=30964

            Bug ID: 30964
           Summary: Number grouping check mishandles multibyte thousands
                    separator
           Product: glibc
           Version: 2.26
            Status: NEW
          Severity: normal
          Priority: P2
         Component: locale
          Assignee: unassigned at sourceware dot org
          Reporter: schwab@linux-m68k.org
  Target Milestone: ---

The grouping check in __correctly_grouped_prefixmb mishandles multibyte
thousands separators, and never finds them even if present.  If the number is
incorrectly formatted in that there are multiple adjacent thousands separators,
the actual parsing in str_to_npm will go wrong and try to interpret the first
byte of the second separator as a digit.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug locale/30964] Number grouping check mishandles multibyte thousands separator
  2023-10-11 12:44 [Bug locale/30964] New: Number grouping check mishandles multibyte thousands separator schwab@linux-m68k.org
@ 2023-10-12  9:45 ` schwab@linux-m68k.org
  0 siblings, 0 replies; 2+ messages in thread
From: schwab@linux-m68k.org @ 2023-10-12  9:45 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=30964

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
   Target Milestone|---                         |2.39
         Resolution|---                         |FIXED

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
Fixed by commit 69239bd7a2.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-12  9:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-11 12:44 [Bug locale/30964] New: Number grouping check mishandles multibyte thousands separator schwab@linux-m68k.org
2023-10-12  9:45 ` [Bug locale/30964] " schwab@linux-m68k.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).