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

From: Ingo Molnar
Date: Thu Mar 08 2012 - 02:53:10 EST



* Ingo Molnar <mingo@xxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/