glibc-2.36.9000-24.fc38 should fix this assertion failure:

Fatal glibc error: printf_buffer_as_file.c:31 (__printf_buffer_as_file_commit): 
assertion failed: file->stream._IO_write_ptr <= file->next->write_end

It's a logic bug in the fortified implementation of the sprintf family
of functions.  This happens if GCC cannot divine the buffer length, but
still calls the fortified version for format string checking (for %n),
*and* that sprintf call uses a registered format specifier.  So far,
I've seen this with libquadmath, which registers
replacements/enhancement for the standard fFeEgGaA specifiers
(necessarily for the double type as well), to implement the Q modifier.

Thanks,
Florian
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to