Re: [PATCH] perf: Incorrect use of snprintf results in SEGV

Ingo Molnar
2012-03-08T07:53:13Z

* Ingo Molnar <mingo@elte.hu> wrote:

> [...]
>
> When designing APIs it is of utmost importance how average
> developers intuitively *think* it works - not how the designer
> thinks it should work ... Any severe mismatch between the two
> is a serious design FAIL that should not be repeated in new
> code.

Btw., I'm not picking on you, in the last 15 years I have added
my own sad share of brown paperbag API mis-designs to the Linux
kernel - most [but not all] of which could fortunately be fixed
within the kernel.

Thanks,

Ingo