mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Markus Wichmann <nullplan@gmx.net>
To: musl@lists.openwall.com
Subject: Re: [musl] [PATCH] [RFC] trap on invalid printf formats
Date: Thu, 22 Jun 2023 16:35:54 +0200	[thread overview]
Message-ID: <ZJRcSlsnukcVuXqW@voyager> (raw)
In-Reply-To: <20230621213746.GM4163@brightrain.aerifal.cx>

Am Wed, Jun 21, 2023 at 05:37:49PM -0400 schrieb Rich Felker:
> Inspired by a new instance of some bitrotted software using %Lu
> instead of %llu, attached is a draft patch to catch such errors rather
> than silently leaving missing output.
>

Ah, it's the old dichotomy: For developers, this is nice, since it
catches bad behavior in a way that is impossible to ignore. For users,
this is horrible, since it crashes bad applications, maybe just before
they could save their data. And making the behavior selectable is
probably not sensible.

As I count myself among the former group, I do support this move. But
then, I do not run a distro, and the only computer I am responsible for
is my own.

Ciao,
Markus

  parent reply	other threads:[~2023-06-22 14:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-21 21:37 Rich Felker
2023-06-21 22:10 ` enh
2023-06-22 14:35 ` Markus Wichmann [this message]
2023-06-22 14:45   ` Rich Felker
2023-06-22 23:37     ` Alex Xu (Hello71)
2023-06-22 23:51       ` Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZJRcSlsnukcVuXqW@voyager \
    --to=nullplan@gmx.net \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).