Re: [PATCH] Add error check to hex2bin().
From: Andy Shevchenko
Date: Mon Jul 18 2011 - 15:44:36 EST
On Mon, Jul 18, 2011 at 10:20 PM, Mimi Zohar <zohar@xxxxxxxxxxxxxxxxxx> wrote:
>> > We probably don't need to define a separate 'safe' function.
>> There is an opponent on any Âapproach. Although, small and fast error
>> route could be good.
> As nothing but trusted/encrypted keys is using hex2bin, it shouldn't be
> a problem. Â:-)
The key word "until now". But people will start to use anything which
has public API, won't they?
> ÂI'll update trusted/encrypted keys to check the return
Actually another question shall we add __must_check to the prototype or not?
With Best Regards,
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/