Re: [PATCH] tty: nozomi: avoid sprintf buffer overflow

From: Arnd Bergmann
Date: Tue Nov 29 2016 - 04:10:51 EST


On Tuesday, November 29, 2016 8:14:32 AM CET Jiri Slaby wrote:
>
> Could you also kill the now unused _err_flag_ parameter (including the
> only user of NFO)?

Right. I was trying to avoid taking the cleanup too far, lacking
a way to properly test it, but that would have been an obvious change.

> (Or inline pr_debug directly into the only user and kill NFO completely?)

I'll send both variants and let you pick one or the other.

Arnd