public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/29530] New: segfault in printf handling thousands separator
@ 2022-08-27  0:27 godlygeek at gmail dot com
  2022-08-29 12:24 ` [Bug libc/29530] " schwab@linux-m68k.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: godlygeek at gmail dot com @ 2022-08-27  0:27 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 29530
           Summary: segfault in printf handling thousands separator
           Product: glibc
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: godlygeek at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

printf segfaults when running:
```
#include <stdio.h>
#include <locale.h>

int main() {
    setlocale(LC_ALL, "en_US.UTF-8");
    printf("%'1000d\n", 1000);
}
```

Godbolt reproducer: https://godbolt.org/z/oaoqMv1v7

That's glibc 2.31, which is the newest I've been able to test with. This may be
the same issue as db6c4935, since it is crashing in memmove under
__vfprintf_internal - but if so, the impact analysis of that bug ("I believe
this code ... is unreachable in prior glibc releases") seems to have been
incorrect.

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

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

end of thread, other threads:[~2023-05-06 23:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-27  0:27 [Bug libc/29530] New: segfault in printf handling thousands separator godlygeek at gmail dot com
2022-08-29 12:24 ` [Bug libc/29530] " schwab@linux-m68k.org
2022-08-29 12:24 ` schwab@linux-m68k.org
2022-08-29 12:33 ` adhemerval.zanella at linaro dot org
2022-08-29 12:58 ` schwab@linux-m68k.org
2022-08-29 15:06 ` cvs-commit at gcc dot gnu.org
2022-08-30  8:45 ` cvs-commit at gcc dot gnu.org
2022-08-30  8:48 ` cvs-commit at gcc dot gnu.org
2022-08-30  9:20 ` cvs-commit at gcc dot gnu.org
2022-08-30 11:08 ` cvs-commit at gcc dot gnu.org
2023-05-06 23:11 ` ppluzhnikov at google dot com

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